Commit 33255714 authored by Mike Hibler's avatar Mike Hibler

A couple of minor nits.

parent 6f9ca4e2
......@@ -460,10 +460,12 @@ sub handler ($) {
$SIG{TERM} = 'IGNORE';
$SIG{HUP} = 'IGNORE';
my $str = "Killing";
if ($signame eq 'USR1') {
$leaveme = 1;
$str = "Halting";
}
MyFatal("Caught a SIG${signame}! Killing the container ...");
MyFatal("Caught a SIG${signame}! $str the container ...");
}
$SIG{INT} = \&handler;
$SIG{USR1} = \&handler;
......@@ -620,4 +622,3 @@ sub safeLibOp($$$$;@) {
return $ret;
}
......@@ -117,7 +117,7 @@ if ($action eq 'reboot' || $action eq 'kill' || $action eq 'halt') {
$daemon = 0;
}
elsif ($action ne 'boot') {
print STDERR "Must specify an action!\n";
print STDERR "Unrecognized action '$action'!\n";
usage();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment