Index: usr.bin/hexdump/display.c =================================================================== --- usr.bin/hexdump/display.c +++ usr.bin/hexdump/display.c @@ -366,7 +366,7 @@ /* * We've opened our last input file; enter capsicum sandbox. */ - if (*_argv == NULL) { + if (*(_argv + 1) == NULL) { if (cap_enter() < 0 && errno != ENOSYS) err(1, "unable to enter capability mode"); }