@ -8,7 +8,7 @@ usage() {
}
rc_run_wait() {
su "$username" -s "$SHELL" -c "$homedir/.config/rc.local" &>"$logdir/${username}.log" &
su - "$username" -s "$SHELL" -c "$homedir/.config/rc.local" &>"$logdir/${username}.log" &
wait "$!"
if (( $? )); then
The note is not visible to the blocked user.