From: Einar Jørgen Haraldseid Date: Thu, 10 Oct 2019 13:12:08 +0000 (+0200) Subject: Missing -e on echo X-Git-Url: https://git.slaskete.net/einar-bin/commitdiff_plain/cc4676f281200e14e3c00f504603b307ed6ed7d5 Missing -e on echo --- diff --git a/addfollowmeprint.sh b/addfollowmeprint.sh index d0d0868..f50b1d0 100755 --- a/addfollowmeprint.sh +++ b/addfollowmeprint.sh @@ -323,7 +323,7 @@ if [ "${Uname}" = "darwin" ]; then # Make sure the password has the correct ACL ref https://mostlikelee.com/blog-1/2017/9/16/scripting-the-macos-keychain-partition-ids OS_Min_Vers=$(sw_vers | grep ProductVersion | awk '{print $2}' | cut -d "." -f2) if [ "${OS_Min_Vers}" -ge 12 ]; then - echo "\nNOTE: You need to provide your local Mac password again here in order to give the printing system access to your credentials.\n" + echo -e "\nNOTE: You need to provide your local Mac password again here in order to give the printing system access to your credentials.\n" security set-internet-password-partition-list -S "apple-tool:,apple:" -s "${PrintServer}" > /dev/null fi