summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-13 11:34:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-13 11:34:46 +0000
commitf5f5c7250b85fd56c69bb17e6ac28a1974c3a376 (patch)
tree1cac8106a50fb78a5424794954231360f335658c
parentb2f428a914854277bac8dd40556d4ab9ed6caa1f (diff)
downloaddrakx-backup-do-not-use-f5f5c7250b85fd56c69bb17e6ac28a1974c3a376.tar
drakx-backup-do-not-use-f5f5c7250b85fd56c69bb17e6ac28a1974c3a376.tar.gz
drakx-backup-do-not-use-f5f5c7250b85fd56c69bb17e6ac28a1974c3a376.tar.bz2
drakx-backup-do-not-use-f5f5c7250b85fd56c69bb17e6ac28a1974c3a376.tar.xz
drakx-backup-do-not-use-f5f5c7250b85fd56c69bb17e6ac28a1974c3a376.zip
help perl_checker
-rwxr-xr-xperl-install/standalone/drakupdate_fstab4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab
index 3285daac7..73c308bda 100755
--- a/perl-install/standalone/drakupdate_fstab
+++ b/perl-install/standalone/drakupdate_fstab
@@ -29,8 +29,8 @@ use fs;
$::isStandalone = 1; #- not using standalone.pm which generates too many logs for drakupdate_fstab purpose
-$::testing = $ARGV[0] eq '--test' && shift;
-$::auto = $ARGV[0] eq '--auto' && shift;
+$::testing = $ARGV[0] eq '--test' && shift @ARGV;
+$::auto = $ARGV[0] eq '--auto' && shift @ARGV;
my ($raw_action, $device_name) = @ARGV;
my ($action) = $raw_action =~ /^--(add|del)/;