mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 15:28:06 +02:00
Fix expansion of maybe non-set variable
This commit is contained in:
parent
920bea32ca
commit
01be99db49
1 changed files with 1 additions and 1 deletions
2
bin/logs
2
bin/logs
|
@ -32,7 +32,7 @@ function __main__() {
|
|||
LINES="$DEFAULT_LINES"
|
||||
FOLLOW_FLAG=""
|
||||
|
||||
if [[ "$1" == "help" ]] || [[ "$1" == "--help" ]]; then
|
||||
if [[ "${1:-null}" == "help" ]] || [[ "${1:-null}" == "--help" ]]; then
|
||||
usage
|
||||
exit
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue