Probably found the logic bug
This commit is contained in:
parent
47dc6ef3d5
commit
a9db7932ab
@ -376,9 +376,6 @@ 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
|
||||||
|
|
||||||
@ -541,14 +538,14 @@ if [[ $(pacman -Q | grep podman) ]]; then
|
|||||||
echo -e "\033[38;2;200;20;20mRemember to set \"amdgpu.ppfeaturemask=0xffffffff\" in the kernel!!\033[0m"
|
echo -e "\033[38;2;200;20;20mRemember to set \"amdgpu.ppfeaturemask=0xffffffff\" in the kernel!!\033[0m"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# reload user default shell
|
|
||||||
exec "$(getent passwd $LOGNAME | cut -d: -f7)"
|
|
||||||
|
|
||||||
jobs
|
jobs
|
||||||
jobs -p
|
jobs -p
|
||||||
|
|
||||||
# wait for all background jobs to finish
|
# wait for all background jobs to finish
|
||||||
wait $(jobs -p)
|
wait $(jobs -p) && echo "Finished background jobs"
|
||||||
|
|
||||||
|
# reload user default shell
|
||||||
|
exec "$(getent passwd $LOGNAME | cut -d: -f7)"
|
||||||
|
|
||||||
# exit successfully
|
# exit successfully
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user