16 lines
274 B
Diff
16 lines
274 B
Diff
--- panic.c
|
|
+++ panic.c
|
|
@@ -58,8 +58,11 @@
|
|
/* Something fatal has happened, print error message and exit.
|
|
*/
|
|
fprintf(stderr, "%s: %s\n", namep, a);
|
|
- if (fcreated)
|
|
+ if (fcreated){
|
|
+ PRIV_START
|
|
unlink(atfile);
|
|
+ PRIV_END
|
|
+ }
|
|
|
|
exit(EXIT_FAILURE);
|
|
}
|