formatting
This commit is contained in:
parent
b14f923a09
commit
29be92e46a
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ truncate_description() {
|
||||||
trap error_exit ERR
|
trap error_exit ERR
|
||||||
trap kill_exit SIGTERM SIGINT
|
trap kill_exit SIGTERM SIGINT
|
||||||
|
|
||||||
[[ ! -f "$SNAPPER_CONFIG_FILE" ]] && die "%s does not exist!" "$SNAPPER_CONFIG_FILE"
|
[[ ! -f "$SNAPPER_CONFIG_FILE" ]] && die "%s does not exist." "$SNAPPER_CONFIG_FILE"
|
||||||
source "$SNAPPER_CONFIG_FILE"
|
source "$SNAPPER_CONFIG_FILE"
|
||||||
|
|
||||||
[[ $EUID -ne 0 ]] && die "Script must be run as root."
|
[[ $EUID -ne 0 ]] && die "Script must be run as root."
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue