Skip to content

Commit d25a156

Browse files
committed
Fix ghe-ssh invocation in ghe-restore
1 parent 30be74e commit d25a156

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/ghe-restore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ ghe_remote_version_required "$host"
7676
# dna.json file. If not, enable restoring settings and license in addition
7777
# to primary datastores.
7878
if ! $clean_restore &&
79-
ghe-ssh "! test -f '$GHE_REMOTE_DATA_DIR/enterprise/dna.json -o \
79+
! ghe-ssh "$host" -- "test -f '$GHE_REMOTE_DATA_DIR/enterprise/dna.json -o \
8080
-f '$GHE_REMOTE_DATA_USER_DIR/common/dna.json'"; then
8181
clean_restore=true
8282
fi

0 commit comments

Comments
 (0)