mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46: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 {
|
postHook = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
default = ''
|
default = ''
|
||||||
if [ $exitStatus -ne 0 ]; then
|
if [ $exitStatus -eq 0 ]; then
|
||||||
touch /nix/var/data/backup/backup-ok
|
touch /nix/var/data/backup/backup-ok
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue