mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Fix wrong condition when checking backup status
This commit is contained in:
parent
819089dcde
commit
65eace8e53
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ in
|
|||
postHook = mkOption {
|
||||
type = types.lines;
|
||||
default = ''
|
||||
if [ $exitStatus -ne 0 ]; then
|
||||
if [ $exitStatus -eq 0 ]; then
|
||||
touch /nix/var/data/backup/backup-ok
|
||||
fi
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue