diff options
author | Oliver Poignant <oliver@poignant.se> | 2015-08-28 17:34:54 +0200 |
---|---|---|
committer | Oliver Poignant <oliver@poignant.se> | 2015-08-28 17:34:54 +0200 |
commit | 77482fdcf4c10f929f30939fb9506b230bb8e4e6 (patch) | |
tree | c8febf81c390827117000d3978ebd33899717180 /GitAutoDeploy.py | |
parent | 4f29a3136538925497493e1cac952861a10a33c0 (diff) | |
download | Git-Auto-Deploy-77482fdcf4c10f929f30939fb9506b230bb8e4e6.zip Git-Auto-Deploy-77482fdcf4c10f929f30939fb9506b230bb8e4e6.tar.gz Git-Auto-Deploy-77482fdcf4c10f929f30939fb9506b230bb8e4e6.tar.bz2 |
Fixed incorrect hardcoded path
Diffstat (limited to 'GitAutoDeploy.py')
-rwxr-xr-x | GitAutoDeploy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GitAutoDeploy.py b/GitAutoDeploy.py index 5f12546..c5c44af 100755 --- a/GitAutoDeploy.py +++ b/GitAutoDeploy.py @@ -501,7 +501,7 @@ class GitAutoDeploy(object): raise Exception, "%s [%d]" % (e.strerror, e.errno) if pid == 0: - os.chdir('/home/tvk') + os.chdir('/') os.umask(0) else: # Kill first child @@ -613,4 +613,4 @@ if __name__ == '__main__': signal.signal(signal.SIGABRT, app.signal_handler) signal.signal(signal.SIGPIPE, signal.SIG_IGN) - app.run()
\ No newline at end of file + app.run() |