diff options
author | Olivier Blin <mageia@blino.org> | 2016-02-07 13:29:35 +0100 |
---|---|---|
committer | Olivier Blin <dev@blino.org> | 2016-02-07 13:59:29 +0100 |
commit | c234268e88960dae9b812db591f5b1635facd3e6 (patch) | |
tree | 73bfb00cca88a00fa1f4072e8ddca8a26f46ed40 | |
parent | d1231434e7aaa67247e031e67536c700dc2cebf1 (diff) | |
download | puppet-c234268e88960dae9b812db591f5b1635facd3e6.tar puppet-c234268e88960dae9b812db591f5b1635facd3e6.tar.gz puppet-c234268e88960dae9b812db591f5b1635facd3e6.tar.bz2 puppet-c234268e88960dae9b812db591f5b1635facd3e6.tar.xz puppet-c234268e88960dae9b812db591f5b1635facd3e6.zip |
sv_membersh: fix error message regarding arguments
-rw-r--r-- | modules/restrictshell/templates/sv_membersh.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/restrictshell/templates/sv_membersh.pl b/modules/restrictshell/templates/sv_membersh.pl index 155bc300..d4a6d6d4 100644 --- a/modules/restrictshell/templates/sv_membersh.pl +++ b/modules/restrictshell/templates/sv_membersh.pl @@ -169,7 +169,7 @@ if ($#ARGV == 1 and $ARGV[0] eq "-c") { } unless (-e "/etc/membersh-errormsg") { - if ($ARGV) { + if (@ARGV) { print STDERR "You tried to execute: @ARGV[1..$#ARGV]\n"; } else { print STDERR "You tried to run a interactive shell.\n" |