run-init: implement -n "dry run"
function old new delta switch_root_main 637 706 +69 packed_usage 31743 31757 +14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 83/0) Total: 83 bytes text data bss dec hex filename 915247 563 5844 921654 e1036 busybox_old 915303 563 5844 921710 e106e busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -679,7 +679,7 @@ int setfiles_main(int argc UNUSED_PARAM, char **argv)
|
||||
bb_show_usage();
|
||||
xstat(argv[0], &sb);
|
||||
if (!S_ISREG(sb.st_mode)) {
|
||||
bb_error_msg_and_die("spec file %s is not a regular file", argv[0]);
|
||||
bb_error_msg_and_die("'%s' is not a regular file", argv[0]);
|
||||
}
|
||||
/* Load the file contexts configuration and check it. */
|
||||
rc = matchpathcon_init(argv[0]);
|
||||
|
Reference in New Issue
Block a user