summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2013-12-20 13:59:20 +0100
committerLeif Johansson <leifj@sunet.se>2013-12-20 13:59:20 +0100
commit792cc2df254276da2b629cb2b321953483cbfdbf (patch)
tree9dae08367a69d6a122ca946d364d72c224b49bae
parentf1c2ae2e0495f279493d8989b1c72bf3f8ed122a (diff)
root@
-rwxr-xr-xedit-secrets4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit-secrets b/edit-secrets
index 08ec257..2c05197 100755
--- a/edit-secrets
+++ b/edit-secrets
@@ -32,8 +32,8 @@ if [ "x$1" != "x-l" ]; then
trap "rm -f $TMPFILE $TMPFILE2" EXIT
- ssh -t $host /var/cache/cosmos/repo/edit-secrets -l
- scp -q $host:$LAST_OUTPUT_FILENAME $TMPFILE
+ ssh -t root@$host /var/cache/cosmos/repo/edit-secrets -l
+ scp -q root@$host:$LAST_OUTPUT_FILENAME $TMPFILE
if grep ^"STATUS=UPDATED" $TMPFILE > /dev/null; then
# extract the path of the file that should be updated in the Cosmos repo