diff options
Diffstat (limited to 'sbin/ip6fw/ip6fw.c')
-rw-r--r-- | sbin/ip6fw/ip6fw.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/ip6fw/ip6fw.c b/sbin/ip6fw/ip6fw.c index ff0a096..a054a02 100644 --- a/sbin/ip6fw/ip6fw.c +++ b/sbin/ip6fw/ip6fw.c @@ -1273,9 +1273,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) { |