summaryrefslogtreecommitdiff
path: root/edit-secrets
diff options
context:
space:
mode:
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