diff options
Diffstat (limited to 'localnotifypwexp')
-rwxr-xr-x | localnotifypwexp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localnotifypwexp b/localnotifypwexp index a485b12..dc8a096 100755 --- a/localnotifypwexp +++ b/localnotifypwexp @@ -103,7 +103,7 @@ for user in $users; do IFS=":" - usershadow=$(getent shadow $user) + usershadow=$(getent shadow "$user") # make an array out of it usershadow=($usershadow) @@ -127,7 +127,7 @@ do then subject=$(eval "echo \"$usersubjecttemplate\"") body=$(eval "echo \"$userbodytemplate\"") - echo -e "$body" | $notifyprog -s "$subject" $user + echo -e "$body" | $notifyprog -s "$subject" "$user" else if [[ $age -ge $aged ]]; then |