fix Must specify DOMAIN error over ssh

This commit is contained in:
Justin Clark committed 2015-11-13 18:02:07 -08:00
1 parent 6af8811912
commit 59912d43f1
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -60,7 +60,9 @@ if [[ -n "$SSH_ORIGINAL_COMMAND" ]]; then
xargs $0 <<<$SSH_ORIGINAL_COMMAND xargs $0 <<<$SSH_ORIGINAL_COMMAND
exit $? exit $?
else else
set -f
$0 $SSH_ORIGINAL_COMMAND $0 $SSH_ORIGINAL_COMMAND
set +f
exit $? exit $?
fi fi
fi fi
+1 -1
View File
@@ -65,7 +65,7 @@ case "$1" in
exit 1 exit 1
fi fi
if [[ $(egrep ^"$3"$ "$DOKKU_ROOT/$APP/VHOST" > /dev/null 2>&1; echo $?) -eq 0 ]]; then if [[ $(grep --fixed-strings "$3" "$DOKKU_ROOT/$APP/VHOST" > /dev/null 2>&1; echo $?) -eq 0 ]]; then
echo "$3 is already defined for $APP" echo "$3 is already defined for $APP"
exit 1 exit 1
fi fi