mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
bin: Simplify while loop condition
This commit is contained in:
parent
57237b8568
commit
2f76066d95
1 changed files with 1 additions and 2 deletions
|
@ -36,8 +36,7 @@ fi
|
||||||
[ -n "${LOG}" ] || fatal "Set a logfile as the first parameter"
|
[ -n "${LOG}" ] || fatal "Set a logfile as the first parameter"
|
||||||
|
|
||||||
shift
|
shift
|
||||||
while [ 1 ]
|
while true; do
|
||||||
do
|
|
||||||
# Try to touch the file if it doesn't exist
|
# Try to touch the file if it doesn't exist
|
||||||
[ -f "${LOG}" ] || touch "${LOG}" || fatal "Logfile '${LOG}' is not writeable"
|
[ -f "${LOG}" ] || touch "${LOG}" || fatal "Logfile '${LOG}' is not writeable"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue