projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af8e9c
)
copyfile uses rsync, check that args exist
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 17 Feb 2020 19:16:21 +0000
(20:16 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 17 Feb 2020 19:16:21 +0000
(20:16 +0100)
emulator/gnt-cluster
patch
|
blob
|
history
diff --git
a/emulator/gnt-cluster
b/emulator/gnt-cluster
index
4b4a6e0
..
d4a46eb
100755
(executable)
--- a/
emulator/gnt-cluster
+++ b/
emulator/gnt-cluster
@@
-2,6
+2,8
@@
op=$1 ; shift
+test -z "$1" && exit 1
+
if [ "$op" = "command" ] ; then
show_machine=0
@@
-21,8
+23,8
@@
if [ "$op" = "command" ] ; then
elif [ "$op" = "copyfile" ] ; then
-
scp
$1 lib10:$1
-
scp
$1 lib20:$1
+
rsync
$1 lib10:$1
+
rsync
$1 lib20:$1
else
echo "UNKNOWN [$op] $*"