diff options
author | Marko Kreen | 2007-09-25 13:11:40 +0000 |
---|---|---|
committer | Marko Kreen | 2007-09-25 13:11:40 +0000 |
commit | 4afe359a20ef369e5f4a603cdaad78dbcce8e6f9 (patch) | |
tree | 8ea9499be76c273c18e46d256e7e56b4659f3926 /python/walmgr.py | |
parent | d8d8380040480ea9728effd8634c1c357260f4d3 (diff) |
show os.spawn cmdline in error
Diffstat (limited to 'python/walmgr.py')
-rwxr-xr-x | python/walmgr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/walmgr.py b/python/walmgr.py index d44466ed..bf9cf7a0 100755 --- a/python/walmgr.py +++ b/python/walmgr.py @@ -261,7 +261,7 @@ class WalMgr(skytools.DBScript): return res = os.spawnvp(os.P_WAIT, cmdline[0], cmdline) if res != 0: - self.log.fatal("exec failed, res=%d" % res) + self.log.fatal("exec failed, res=%d (%s)" % (res, repr(cmdline))) sys.exit(1) def chdir(self, loc): |