Missing action to netdisco-do should not throw Perl error
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2.028014
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* Missing action to netdisco-do should not throw Perl error
|
||||||
|
|
||||||
2.028013 - 2014-07-31
|
2.028013 - 2014-07-31
|
||||||
|
|
||||||
[ENHANCEMENTS]
|
[ENHANCEMENTS]
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ schema('daemon')->deploy;
|
|||||||
# get requested action
|
# get requested action
|
||||||
my $action = shift @ARGV;
|
my $action = shift @ARGV;
|
||||||
|
|
||||||
if (!length $action) {
|
unless ($action) {
|
||||||
error 'error: missing action!';
|
error 'error: missing action!';
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user