aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-03-14 10:49:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-03-14 10:49:26 -0300
commit1819e105a24cf42ded4efc4bb72d2646a5b0134f (patch)
treee727cfd6c949f27ff3c075761aea6553dbed07ac
parent865f31757cee0de1d38f7831509dc745c9021492 (diff)
downloadutils-ssh-1819e105a24cf42ded4efc4bb72d2646a5b0134f.tar.gz
utils-ssh-1819e105a24cf42ded4efc4bb72d2646a5b0134f.tar.bz2
Fix servers evaluation at ssh-authorized-send and ssh-privsend
-rwxr-xr-xssh-authorized-send3
-rwxr-xr-xssh-privsend3
2 files changed, 6 insertions, 0 deletions
diff --git a/ssh-authorized-send b/ssh-authorized-send
index 22f5596..dc9c8c3 100755
--- a/ssh-authorized-send
+++ b/ssh-authorized-send
@@ -6,6 +6,9 @@
# Parameters
BASENAME="`basename $0`"
KEY="$1"
+
+# Servers
+shift
SERVERS="$*"
# Checks
diff --git a/ssh-privsend b/ssh-privsend
index 55f4bfb..9ea225d 100755
--- a/ssh-privsend
+++ b/ssh-privsend
@@ -6,6 +6,9 @@
# Parameters
BASENAME="`basename $0`"
KEY="$1"
+
+# Servers
+shift
SERVERS="$*"
# Checks