Jelajahi Sumber

changed to and instead of or

Daniel Gibbs 10 tahun lalu
induk
melakukan
54efa40e65
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      functions/check.sh

+ 1 - 1
functions/check.sh

@@ -21,7 +21,7 @@ array_contains () {
 
 
 check_root.sh
 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
 	check_systemdir.sh
 fi
 fi