Fix scripts using import env always exiting

This commit is contained in:
crater2150 2023-09-19 10:48:15 +02:00
parent b9b6e44f98
commit 584c900e84
5 changed files with 9 additions and 6 deletions

View file

@ -7,5 +7,5 @@ if [[ ! -e ${0:a:h}/server ]] then
exit 1
fi
source ${0:a:h:h}/import-env.zsh
import-env awesome | exit 1
import-env awesome || exit 1
exec barrierc --no-daemon $(<${0:a:h}/server)