Refactored bin script printing
Necessary to have consistent use of `printf` especially with formatting strings and new lines. Milestone: patch
This commit is contained in:
@@ -12,5 +12,5 @@ SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/restore_backup"
|
||||
if [[ -x "$SCRIPT_PATH" ]]; then
|
||||
"$SCRIPT_PATH"
|
||||
else
|
||||
printf "WARNING: Restore backup script does not exist or is not executable.\n"
|
||||
printf "%s\n" "WARNING: Restore backup script does not exist or is not executable."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user