diff --git a/xCAT-server/lib/xcat/plugins/tabutils.pm b/xCAT-server/lib/xcat/plugins/tabutils.pm index 76ef5e79d..00ed8ddac 100644 --- a/xCAT-server/lib/xcat/plugins/tabutils.pm +++ b/xCAT-server/lib/xcat/plugins/tabutils.pm @@ -402,7 +402,9 @@ sub tabdump }; # Process arguments - @ARGV = @{$args}; + if ($args) { + @ARGV = @{$args}; + } if (!GetOptions('h|?|help' => \$HELP, 'd' => \$DESC)) { $tabdump_usage->(1); return; } if ($HELP) { $tabdump_usage->(0); return; }