This commit is contained in:
parent
71ccccf88d
commit
b47299c919
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ def main [
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let result = (do {restic backup --host $env.HOSTNAME $paths} | complete)
|
let result = (do {restic backup --host $env.HOSTNAME ...$paths} | complete)
|
||||||
if $result.exit_code == 1 {
|
if $result.exit_code == 1 {
|
||||||
print "restic backup failed"
|
print "restic backup failed"
|
||||||
print ($result.stderr | str trim --right)
|
print ($result.stderr | str trim --right)
|
||||||
|
|
Loading…
Reference in a new issue