Fix syntax error in start
This commit is contained in:
parent
8105b400b3
commit
24d11a1793
2
start
2
start
@ -6,7 +6,7 @@ set -euo pipefail
|
||||
|
||||
TORRC_PATH=${TORRC_PATH:-""}
|
||||
[[ "$TORRC_PATH" ]] && echo "$(date) [ $(basename $0) ] Using torrc file from '$TORRC_PATH'.."
|
||||
[[ -e "$TORRC_PATH" ]] {
|
||||
[[ -e "$TORRC_PATH" ]] || {
|
||||
echo "$(date) [ $(basename $0) ] FATAL: No such file '$TORRC_PATH'." >&1
|
||||
exit 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user