summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/getbackup.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/getbackup.pl b/util/getbackup.pl
index 29e2c20a..bfc5c08b 100644
--- a/util/getbackup.pl
+++ b/util/getbackup.pl
@@ -11,7 +11,7 @@ $prefix = substr($ARGV[1], 0, 1);
if( $ARGV[0] eq 'usr' ){
`rm -Rf home`;
`tar zxvf home.$prefix.tgz home/$prefix/$ARGV[1]`;
- if( $ARGV[2] ne 'all' && $ARGV[2] ne 'fav' && $ARGV[2] ne 'frlist' ){
+ if( $ARGV[2] ne 'all' && $ARGV[2] ne 'fav' && $ARGV[2] ne 'frlist' && $ARGV[2] ){
print "usr command '$ARGV[2]' unknown\n";
exit;
}