Skip to content

Commit

Permalink
Add import sys to zabbix-cli-init
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelma committed Mar 25, 2015
1 parent f949e88 commit 6be841f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/zabbix-cli-init
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from os import getenv,path,remove,close,makedirs
from tempfile import mkstemp
from shutil import move, copy2
from sys import exit
import sys

def replace(file_path, pattern, subst):

Expand Down Expand Up @@ -89,7 +89,7 @@ if __name__ == "__main__":
print '\n[ERROR]: %s\n',e
else:
print "Cannot find /etc/zabbix-cli/zabbix-cli.conf file. ERROR with zabbix-cli installation."
exit(1)
sys.exit(1)

#
# changing the line having log configuration option
Expand Down

0 comments on commit 6be841f

Please sign in to comment.