summaryrefslogtreecommitdiff
path: root/edit-secrets
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-02-21 22:14:50 +0100
committerLeif Johansson <leifj@sunet.se>2014-02-21 22:14:50 +0100
commitbbe5b3c12584b3808e5e272cf8100ca159f937e4 (patch)
treeee4e7f8e123c4ddd8fd3750344a8802b761ef10d /edit-secrets
parenta88fd0a34f283ebb534a9353beb7d30ec450543a (diff)
parent45e2a1c1defacb2034c877b71fcf50e961214e72 (diff)
Merge branch 'multiverse'
Diffstat (limited to 'edit-secrets')
-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