exit on failure to create fifo
This commit is contained in:
parent
80ca8f798a
commit
fd3df9e472
@ -176,6 +176,7 @@ if __name__ == '__main__':
|
||||
os.mkfifo(fifoname)
|
||||
except OSError, e:
|
||||
print 'Failed to create FIFO: "%s"' % e
|
||||
sys.exit()
|
||||
|
||||
child_pid = 0
|
||||
print 'parent: PID %s' % os.getpid()
|
||||
|
Loading…
Reference in New Issue
Block a user