소스 검색

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() {