X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;ds=sidebyside;f=distro-begin;h=5752961798f24d169088faac22ea0e5288021646;hb=c536de80536e71af6e69eb1a57575ca1a41101c6;hp=4638980351caca0c5fff05a87c99efe102201a67;hpb=50f25d1eec109c4596cfc638c9a7c98da0f0b5d0;p=distro-setup diff --git a/distro-begin b/distro-begin index 4638980..5752961 100755 --- a/distro-begin +++ b/distro-begin @@ -55,7 +55,7 @@ ### make ssh interactive shell run better. for when running line interactively line by line -sudo bash -c '/a/exe/ssh-emacs-setup' +sudo bash -c '/a/exe/ssh-emacs-setup' || exit $? ##### setup error handling interactive=true # set this to false to force set -x @@ -382,7 +382,7 @@ if [[ -e $f ]]; then fi fi done - if $apparmor_reload && systemctl is-enabled apparmor; then + if $apparmor_reload && systemctl is-active apparmor; then m ser reload apparmor fi fi