Improve stdout output.
This commit is contained in:
parent
130bcedf94
commit
79924633f5
@ -249,7 +249,6 @@ for PROJECT_CHAIN in ${DEPLOYMENT_STRING//,/ }; do
|
|||||||
if [ -n "$USER_TARGET_PROJECT" ]; then
|
if [ -n "$USER_TARGET_PROJECT" ]; then
|
||||||
|
|
||||||
if [ "$PROJECT_NAME" != "$USER_TARGET_PROJECT" ]; then
|
if [ "$PROJECT_NAME" != "$USER_TARGET_PROJECT" ]; then
|
||||||
echo "INFO: Skipping project '$PROJECT_NAME' since the system owner has used the --project switch."
|
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -19,7 +19,6 @@ if [ "$USER_SAYS_YES" = false ]; then
|
|||||||
RESPONSE=
|
RESPONSE=
|
||||||
read -r -p "Are you sure you want to restore the local path '$LOCAL_BACKUP_PATH' to the remote server at '$PRIMARY_WWW_FQDN' (y/n)": RESPONSE
|
read -r -p "Are you sure you want to restore the local path '$LOCAL_BACKUP_PATH' to the remote server at '$PRIMARY_WWW_FQDN' (y/n)": RESPONSE
|
||||||
if [ "$RESPONSE" != "y" ]; then
|
if [ "$RESPONSE" != "y" ]; then
|
||||||
echo "STOPPING."
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user