From 792cc2df254276da2b629cb2b321953483cbfdbf Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 20 Dec 2013 13:59:20 +0100 Subject: root@ --- edit-secrets | 4 ++-- 1 file 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 -- cgit v1.1