Skip to content

Commit c92a0ca

Browse files
Tim SmithTimSmithCtx
Tim Smith
authored andcommitted
CP-54766 Daemonisation should only use the root directory
Signed-off-by: Tim Smith <[email protected]>
1 parent b2d5dfc commit c92a0ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/sm/core/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,7 @@ def p_id_fork():
12291229
print("Fork failed: %s (%d)" % (e.strerror, e.errno))
12301230
sys.exit(-1)
12311231
if (p_id == 0):
1232-
os.chdir('/opt/xensource/sm')
1232+
os.chdir('/')
12331233
os.umask(0)
12341234
else:
12351235
os._exit(0)

0 commit comments

Comments
 (0)