diff options
author | ene <ene@sils.li> | 2023-02-27 18:25:42 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-27 18:25:42 +0100 |
commit | 12dfcae99b3a94a9785cc226b2010f6219c0882d (patch) | |
tree | f10135c140d50a0a76ca471cd1c6df1932d12691 /home-manager | |
parent | Fix(hosts/mammun_on_vm): Add hostname (diff) | |
download | nixos-config-12dfcae99b3a94a9785cc226b2010f6219c0882d.tar.gz nixos-config-12dfcae99b3a94a9785cc226b2010f6219c0882d.zip |
Fix(home/wms): Make the error handling more explicit
Diffstat (limited to 'home-manager')
-rwxr-xr-x | home-manager/wms/river/init | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/home-manager/wms/river/init b/home-manager/wms/river/init index c90c143e..543e9e71 100755 --- a/home-manager/wms/river/init +++ b/home-manager/wms/river/init @@ -5,7 +5,8 @@ err_fail() { if ! "$@";then - printf "%s\n" "$*" >> ~/river_log + warning "\"$*\" failed!\n" >> ~/river_log + msg "Executing the safe init!" exec ~/.config/river/res/safe_init fi } |