Skip to content

Commit

Permalink
more accurate error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
maddingue committed Sep 20, 2011
1 parent 514b620 commit 030efaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/xenballoond/xenballoon.py
Expand Up @@ -276,7 +276,8 @@ def init(self):
sys.exit(1)

if not os.path.exists(self.proc_meminfo):
sys.stderr.write(meta.name+": fatal: Can't read "+self.proc_meminfo+"\n")
sys.stderr.write(meta.name+": fatal: File " + self.proc_meminfo + \
"does not exist\n")
sys.exit(1)

if os.path.exists(self.xs_read) and os.path.exists(self.xs_write):
Expand Down

0 comments on commit 030efaf

Please sign in to comment.