diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-14 13:31:53 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-14 13:31:53 +0000 |
commit | 3e25406e0771e4bc8fba33c9877cd3541b2dbb55 (patch) | |
tree | 319dad683bffc406b1bca701dcc8eaecbe4852f3 /sys/kern/exec_script.c | |
parent | 995b695f2b06ee188ae993334bc83e25a3bc3fd0 (diff) |
ifdef FOO inside an ifdef FOO feels like overkill.
Diffstat (limited to 'sys/kern/exec_script.c')
-rw-r--r-- | sys/kern/exec_script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/exec_script.c b/sys/kern/exec_script.c index 860ad936ffc..b920555b6da 100644 --- a/sys/kern/exec_script.c +++ b/sys/kern/exec_script.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_script.c,v 1.11 2000/09/26 14:01:38 art Exp $ */ +/* $OpenBSD: exec_script.c,v 1.12 2001/05/14 13:31:52 art Exp $ */ /* $NetBSD: exec_script.c,v 1.13 1996/02/04 02:15:06 christos Exp $ */ /* @@ -167,7 +167,7 @@ check_shell: ) { struct file *fp; -#if defined(DIAGNOSTIC) && defined(FDSCRIPTS) +#ifdef DIAGNOSTIC if (epp->ep_flags & EXEC_HASFD) panic("exec_script_makecmds: epp already has a fd"); #endif |