Explorar el Código

new line, now nice output

UltimateByte hace 9 años
padre
commit
a36e646bf7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lgsm/functions/check_permissions.sh

+ 1 - 1
lgsm/functions/check_permissions.sh

@@ -95,7 +95,7 @@ fn_check_permissions(){
 			# If user permission is invalid, then check for invalid group permissions
 			# If user permission is invalid, then check for invalid group permissions
 			if [ "${groupexecperm}" == "0" ] || [ "${groupexecperm}" == "2" ] || [ "${groupexecperm}" == "4" ]  || [ "${groupexecperm}" == "6" ]; then
 			if [ "${groupexecperm}" == "0" ] || [ "${groupexecperm}" == "2" ] || [ "${groupexecperm}" == "4" ]  || [ "${groupexecperm}" == "6" ]; then
 				# If permission issues are found
 				# If permission issues are found
-				fn_print_warn "Permissions issue found"
+				fn_print_warn_nl "Permissions issue found"
 				fn_script_log_warn "Permissions issue found"
 				fn_script_log_warn "Permissions issue found"
 				fn_print_information_nl "The following file is not executable:"
 				fn_print_information_nl "The following file is not executable:"
 				ls -l "${executabledir}/${execname}"
 				ls -l "${executabledir}/${execname}"