diff options
Diffstat (limited to 'sbin/ipfw/ipfw.c')
-rw-r--r-- | sbin/ipfw/ipfw.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/ipfw/ipfw.c b/sbin/ipfw/ipfw.c index e76b710..19c5812 100644 --- a/sbin/ipfw/ipfw.c +++ b/sbin/ipfw/ipfw.c @@ -2378,9 +2378,8 @@ main(ac, av) setbuf(stdout,0); /* - * this is a nasty check on the last argument!!! - * If there happens to be a filename matching a keyword in the current - * directory, things will fail miserably. + * Only interpret the last command line argument as a file to + * be preprocessed if it is specified as an absolute pathname. */ if (ac > 1 && av[ac - 1][0] == '/' && access(av[ac - 1], R_OK) == 0) { |