Commit b4c4b927 authored by Mike Hibler's avatar Mike Hibler

Restore the signal mask before jumping to the disconected label.

parent 1d214d4e
/*
* EMULAB-COPYRIGHT
* 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) {
#ifdef USESOCKETS
sigprocmask(SIG_SETMASK, &omask, NULL);
goto disconnected;
#else
die("%s: write: zero-length", Ptyname);
......
Markdown is supported
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