]> git.mjollnir.org Git - vserverctl.git/commit
Get the hostname in a more safe fashion.
authorNigel McNie <nigel@catalyst.net.nz>
Tue, 3 Apr 2007 02:54:55 +0000 (14:54 +1200)
committerNigel McNie <nigel@freud.wgtn.cat-it.co.nz>
Tue, 3 Apr 2007 02:54:55 +0000 (14:54 +1200)
commitba13120610ba5a2772dd51113caf791d8fe642f5
treeac4d810ca25fa4ff9d646ea32ae462edb8d71099
parent6e5fc7b63a0e175dc287736d7df238b89c116da7
Get the hostname in a more safe fashion.

Apparently, $ENV{HOSTNAME} is a bashism, and given the Sys::Hostname modules appears to be available, we can just use that.
vserverctl