commit aae415390c71c84b78832fba257f97ab1a52a316
Author: Tomohiro Kusumi <[email protected]>
Date: Sun Dec 6 02:43:45 2015 +0900
sbin/hammer: Change assertion on invalid cleanup path to printf
This shouldn't be assertion.
Users could just type . for no reason and result in core dump.
It should end like other errors as shown below.
# hammer cleanup . . . . .
cleanup . - path must start with '/'
cleanup . - PFS #0 already handled
cleanup . - PFS #0 already handled
cleanup . - PFS #0 already handled
cleanup . - PFS #0 already handled
Summary of changes:
sbin/hammer/cmd_cleanup.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aae415390c71c84b78832fba257f97ab1a52a316
--
DragonFly BSD source repository