瀏覽代碼

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