borgthismachine: stop execution at failure
This makes silentlyborgthismachine more efficient
This commit is contained in:
parent
c3614b1ec6
commit
d432d51214
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
if [[ "$HOME" == "/" || -z "$HOME" ]] ; then
|
if [[ "$HOME" == "/" || -z "$HOME" ]] ; then
|
||||||
HOME="/root/"
|
HOME="/root/"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue