浏览代码

scripts/env: fix remaining shellcheck warning

Fixes following shellcheck warning:

 In scripts/env line 25:
 	exit ${1:-1}
             ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Signed-off-by: Petr Štetiar <[email protected]>
Petr Štetiar 5 年之前
父节点
当前提交
227e47b3ca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/env

+ 1 - 1
scripts/env

@@ -22,7 +22,7 @@ Commands:
 Options:
 
 EOF
-	exit ${1:-1}
+	exit "${1:-1}"
 }
 
 error() {