From: Ian Kelling Date: Thu, 13 Apr 2017 10:00:03 +0000 (-0700) Subject: small bug fix X-Git-Url: https://iankelling.org/git/?p=log-quiet;a=commitdiff_plain;h=4cd003087fd71351a8c7ed1a96985e5e68d9b6c8 small bug fix --- diff --git a/log-once b/log-once index 56961f9..233bc0f 100755 --- a/log-once +++ b/log-once @@ -65,7 +65,7 @@ state in the same directory. done fi glob="$c[0-9]*" - file=($glob); [[ $glob != $file ]] || file= + file=($glob); [[ $file != "$glob" ]] || file= if $log; then out=append if [[ $file ]]; then