mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/backup: fix exit code 1 as warning
This commit is contained in:
parent
f19c292a7e
commit
3baf050e02
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ in
|
|||
compression = "auto,zstd";
|
||||
|
||||
postHook = ''
|
||||
if [[ $exitStatus != 0 ]]; then
|
||||
if (( $exitStatus > 1 )); then
|
||||
'' + lib.optionalString cfg.OnFailureNotification ''
|
||||
# iterate over all logged in users
|
||||
for user in $(users); do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue