mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 11:42:05 +00:00
fix bug 1275 xcatprobe xcatmn usage errors in help menu (#2124)
This commit is contained in:
parent
10e2617436
commit
abd96aa1d0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user