Daniel Gibbs 10 лет назад
Родитель
Сommit
51414a9bc4
2 измененных файлов с 4 добавлено и 7 удалено
  1. 3 3
      functions/core_functions.sh
  2. 1 4
      functions/core_messages.sh

+ 3 - 3
functions/core_functions.sh

@@ -122,7 +122,7 @@ functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_getopt(){
+core_getopt.sh(){
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
@@ -137,7 +137,7 @@ functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_messages(){
+core_messages.sh(){
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
@@ -320,4 +320,4 @@ fn_runfunction
 }
 
 # Calls on-screen messages
-fn_messages
+core_messages.sh

+ 1 - 4
functions/core_messages.sh

@@ -145,7 +145,4 @@ fn_printokeol(){
 # FAIL for end of line
 fn_printfaileol(){
 	echo -e "\e[0;31mFAIL\e[0m\n"
-}
-
-getopt=$1
-core_getopt.sh
+}