From 85e66018144ee26e09e833ce155bfc47a25b0ad4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Einar=20J=C3=B8rgen=20Haraldseid?= Date: Wed, 15 Mar 2017 12:02:00 +0100 Subject: [PATCH] Typo in variable Workgroup - fml --- addfollowmeprint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addfollowmeprint.sh b/addfollowmeprint.sh index 1f70200..d435289 100755 --- a/addfollowmeprint.sh +++ b/addfollowmeprint.sh @@ -268,7 +268,7 @@ if [ "${Uname}" = "darwin" ]; then # Add credentials to the keychain if they are missing # Shamelessly stolen from https://github.com/Orakeltjenesten/scripts/blob/33abfb353524f449f0bbdee27adb2f1f0a9756a2/print/ntnuprint-mac.sh if ! security find-internet-password -s ${PrintServer} >/dev/null 2>&1; then - security -v add-internet-password -a "${WorkGroup}\\${Username}" -s ${PrintServer} \ + security -v add-internet-password -a "${Workgroup}\\${Username}" -s ${PrintServer} \ -w "${Password}" -D "Network Password" -r "smb " -l "${QueueName}" \ -T /System/Library/CoreServices/NetAuthAgent.app -T 'group://NetAuth' \ -T /System/Library/CoreServices/NetAuthAgent.app/Contents/MacOS/NetAuthSysAgent >/dev/null 2>&1 -- 2.30.2