Compare commits
2 Commits
fae3e87ea2
...
00a11da088
Author | SHA1 | Date | |
---|---|---|---|
00a11da088 | |||
81ba053624 |
@ -376,6 +376,9 @@ if [ -f "$imagepath" ]; then
|
|||||||
betterlockscreen -u "$imagepath" &
|
betterlockscreen -u "$imagepath" &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
jobs
|
||||||
|
jobs -p
|
||||||
|
|
||||||
# reload systemd user scripts
|
# reload systemd user scripts
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
|
|
||||||
@ -542,7 +545,7 @@ fi
|
|||||||
exec "$(getent passwd $LOGNAME | cut -d: -f7)"
|
exec "$(getent passwd $LOGNAME | cut -d: -f7)"
|
||||||
|
|
||||||
# wait for all background jobs to finish
|
# wait for all background jobs to finish
|
||||||
wait < <(jobs -p); echo "Finished"
|
wait $(jobs -p)
|
||||||
|
|
||||||
# exit successfully
|
# exit successfully
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user