diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-19 17:58:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-19 17:58:23 +0000 |
commit | 84feb65f67f9dfdd4c1946c042d07d10c65d4feb (patch) | |
tree | 74d99dd3e4d3b0bef09fc5651ccd2e0809ae452b /usr.bin/sudo/visudo.c | |
parent | 14ed877776dcefece53d3ac792a4ed18ba7dd630 (diff) |
mark remaining signal races which are difficult to fix, and fix a few partially
Diffstat (limited to 'usr.bin/sudo/visudo.c')
-rw-r--r-- | usr.bin/sudo/visudo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sudo/visudo.c b/usr.bin/sudo/visudo.c index ba8fa565174..293bcf8dd32 100644 --- a/usr.bin/sudo/visudo.c +++ b/usr.bin/sudo/visudo.c @@ -507,10 +507,10 @@ Exit(sig) { (void) unlink(stmp); - if (sig > 0) + if (sig > 0) /* XXX signal race */ (void) fprintf(stderr, "%s exiting, caught signal %d.\n", Argv[0], sig); - exit(-sig); + exit(-sig); /* XXX for signal case, should be _exit() */ } static void |