Skip to content

Commit 5916519

Browse files
committed
fix for issue 1
1 parent 4aa597e commit 5916519

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

probe_installer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ def init_script(script_path, user):
168168
print "Setting up runlevel"
169169
write_file(path_init, init_script(probe_path, probe_user))
170170
print "Changing File Permissions"
171-
os.chmod('%s/probe.py' % probe_path, 755)
172-
os.chmod('/etc/init.d/probe.sh', 755)
171+
os.chmod('%s/probe.py' % probe_path, 0755)
172+
os.chmod('/etc/init.d/probe.sh', 0755)
173173
print subprocess.call(["update-rc.d", "probe.sh", "defaults"], shell=True)
174174
print "Starting Mini Probe"
175175
print subprocess.call("/etc/init.d/probe.sh start", shell=True)

0 commit comments

Comments
 (0)