try:
vserverimpl.unsetdlimit(self.dir, self.ctx)
except OSError, e:
- self.log("Unexpected error with unsetdlimit for context %d" % self.ctx)
+ self.log("Unexpected error with unsetdlimit for context %d -- %r" % (self.ctx,e))
return
if self.vm_running:
if os.path.isfile(cmd[0]):
print >>log, "executing '%s'" % " ".join(cmd_args)
os.spawnvp(os.P_NOWAIT,cmd[0],cmd_args)
+ else:
+ print >>log, "WARNING: could not run %s"%cmd[0]
except:
print >>log, traceback.format_exc()