2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

fix bug 1275 xcatprobe xcatmn usage errors in help menu (#2124)

This commit is contained in:
Weihua Hu 2016-11-09 17:43:16 +08:00 committed by yangsong
parent 10e2617436
commit abd96aa1d0

View File

@ -872,6 +872,12 @@ if ($test) {
exit 0;
}
if (!$installnic){
probe_utils->send_msg("$output", "f", "Option '-i' is required");
probe_utils->send_msg("$output", "d", "$::USAGE");
exit 1;
}
#Handle the interrupt signal from STDIN
$SIG{TERM} = $SIG{INT} = sub {
$terminal = 1;