[fix] unexisting variable

This commit is contained in:
Laurent Peuch 2016-12-18 02:36:58 +01:00
parent 8ecf91dac8
commit 45b320cf9c

View file

@ -132,7 +132,8 @@ def check_script(path, script_name):
if check_file_exist(script_path) == 0:
return
print (c.BOLD + c.HEADER + "\n>>>>",
scripts[i].upper(), "SCRIPT <<<<" + c.END)
script_name.upper(), "SCRIPT <<<<" + c.END)
script = read_file(script_path)
check_script_header_presence(script)
check_sudo_prefix_commands(script)