소스 검색

changed to and instead of or

Daniel Gibbs 10 년 전
부모
커밋
54efa40e65
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      functions/check.sh

+ 1 - 1
functions/check.sh

@@ -21,7 +21,7 @@ array_contains () {
 
 check_root.sh
 
-if [ "${function_selfname}" != "command_install.sh" ]||[ "${function_selfname}" != "update_functions.sh" ]; then
+if [ "${function_selfname}" != "command_install.sh" ] && [ "${function_selfname}" != "update_functions.sh" ]; then
 	check_systemdir.sh
 fi