aboutsummaryrefslogtreecommitdiffstats
path: root/add-syslog
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2010-02-04 19:54:46 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2010-02-04 19:54:46 +0000
commit6bcf7e6e1fe92548e58755a1a0c580a8ebdac0a1 (patch)
tree3675e085d762f7310cd8841766b8a6259de1d7c4 /add-syslog
parent162b766c589b4c2c4dabcd39a9142f0dd0cd6988 (diff)
downloadrpm-helper-6bcf7e6e1fe92548e58755a1a0c580a8ebdac0a1.tar
rpm-helper-6bcf7e6e1fe92548e58755a1a0c580a8ebdac0a1.tar.gz
rpm-helper-6bcf7e6e1fe92548e58755a1a0c580a8ebdac0a1.tar.bz2
rpm-helper-6bcf7e6e1fe92548e58755a1a0c580a8ebdac0a1.tar.xz
rpm-helper-6bcf7e6e1fe92548e58755a1a0c580a8ebdac0a1.zip
fix arguments assignement
Diffstat (limited to 'add-syslog')
-rwxr-xr-xadd-syslog2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-syslog b/add-syslog
index e9b7982..01f35f3 100755
--- a/add-syslog
+++ b/add-syslog
@@ -22,7 +22,7 @@ sub main {
M => 'emerg'
);
getopts('s:m:M:', \%opts);
- my ($source, $min, $max) = @opts{qw/s f m M/};
+ my ($source, $min, $max) = @opts{qw/s m M/};
die <<EOF if @ARGV < 4;
usage: $0 [options] <pkg> <nb> <facility> <dest>