修复日志目录判断

This commit is contained in:
whyour 2022-04-05 00:28:14 +08:00
parent 82dd9114fd
commit eae2d6d17a

View File

@ -366,7 +366,7 @@ main() {
esac esac
;; ;;
esac esac
[[ -f $log_path ]] && cat "$dir_log/$log_path" [[ -f "$dir_log/$log_path" ]] && cat "$dir_log/$log_path"
elif [[ $# -eq 0 ]]; then elif [[ $# -eq 0 ]]; then
echo echo
usage usage