oops dont default to that
This commit is contained in:
@@ -8,7 +8,7 @@ function log() {
|
||||
echo "[$(date -Iseconds)] $*" | tee -a "$LOG_FILE"
|
||||
}
|
||||
|
||||
MODE="${1:-cold}"
|
||||
MODE="${1:-}"
|
||||
if [[ "$MODE" != "cold" && "$MODE" != "hot" ]]; then
|
||||
log "usage: $0 [cold|hot]" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user