jobd.pl: really support --load-triggers on non-Linux platforms
commitc6c7399e9f4bc0add15992a7e6b7025d1d039f37
authorKyle J. McKay <mackyle@gmail.com>
Sun, 16 Feb 2014 02:45:58 +0000 (15 18:45 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 16 Feb 2014 02:45:58 +0000 (15 18:45 -0800)
tree2181b9bfbd896650e403224e52eb0cf2ba8e3da4
parentc075a8cd0d6991593b5e1183c8c178773272ec4d
jobd.pl: really support --load-triggers on non-Linux platforms

Since a480bc54 a get_load_info function has been used that works
on platforms other than Linux.  Unfortunately use of this was being
inadvertently disabled on any system that did not have a /proc/loadavg
file.

Fix this by only disabling the --load-triggers functionality if the
get_load_info function returns undef.
jobd/jobd.pl