Przeglądaj źródła

Changed to and instead of or

Daniel Gibbs 10 lat temu
rodzic
commit
3b7afb9fea
1 zmienionych plików z 1 dodań i 1 usunięć
  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