bin: Simplify while loop condition

pull/4072/head
Richard Hansen 2020-05-14 17:43:04 -04:00
parent 57237b8568
commit 2f76066d95
1 changed files with 1 additions and 2 deletions

View File

@ -36,8 +36,7 @@ fi
[ -n "${LOG}" ] || fatal "Set a logfile as the first parameter"
shift
while [ 1 ]
do
while true; do
# Try to touch the file if it doesn't exist
[ -f "${LOG}" ] || touch "${LOG}" || fatal "Logfile '${LOG}' is not writeable"