summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-10 02:58:59 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-10 02:58:59 +0800
commit1334ecd6b1bc494e0ddc18055b650d1f31334842 (patch)
treef6edcd505d82b5c8c66850601d072a5631c647e1
parent8b75b053e71927943b4b9b6c993c3df8bc20cb4a (diff)
downloadpttbbs-1334ecd6b1bc494e0ddc18055b650d1f31334842.tar
pttbbs-1334ecd6b1bc494e0ddc18055b650d1f31334842.tar.gz
pttbbs-1334ecd6b1bc494e0ddc18055b650d1f31334842.tar.bz2
pttbbs-1334ecd6b1bc494e0ddc18055b650d1f31334842.tar.lz
pttbbs-1334ecd6b1bc494e0ddc18055b650d1f31334842.tar.xz
pttbbs-1334ecd6b1bc494e0ddc18055b650d1f31334842.tar.zst
pttbbs-1334ecd6b1bc494e0ddc18055b650d1f31334842.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@91 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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;
}