Commit b4c4b927 authored by Mike Hibler's avatar Mike Hibler
Browse files

Restore the signal mask before jumping to the disconected label.

parent 1d214d4e
* Copyright (c) 2000-2007 University of Utah and the Flux Group.
* Copyright (c) 2000-2008 University of Utah and the Flux Group.
* All rights reserved.
......@@ -852,6 +852,7 @@ capture(void)
if (i == 0) {
sigprocmask(SIG_SETMASK, &omask, NULL);
goto disconnected;
die("%s: write: zero-length", Ptyname);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment