diff options
author | EuAndreh <eu@euandre.org> | 2023-03-15 15:44:43 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-15 15:44:43 -0300 |
commit | 1add8581c97831418e46ca7b1a49e9a6662d2758 (patch) | |
tree | 9accfceb1091165afdb5ce6ee85f1d72efe75b25 /etc/sh/cronjob.sh | |
parent | etc/sh/rc: Enable $DISPLAY to be unset without erroring (diff) | |
download | dotfiles-1add8581c97831418e46ca7b1a49e9a6662d2758.tar.gz dotfiles-1add8581c97831418e46ca7b1a49e9a6662d2758.tar.xz |
etc/sh/cronjob.sh: Also load /etc/profile to get /run/setuid-programs in $PATH
Diffstat (limited to 'etc/sh/cronjob.sh')
-rwxr-xr-x | etc/sh/cronjob.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/sh/cronjob.sh b/etc/sh/cronjob.sh index db775aa..6c810d1 100755 --- a/etc/sh/cronjob.sh +++ b/etc/sh/cronjob.sh @@ -65,10 +65,12 @@ done shift $((OPTIND - 1)) -set +e +set +eu +# shellcheck source=/dev/null +. /etc/profile # shellcheck source=/dev/null . ~/.profile -set -e +set -eu epoch() { |