Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
only return EXIT_SUCCESS or EXIT_FAILURE on pkg create
Baptiste Daroussin committed 14 years ago
commit 74fdf87958b5abc89f76f137edae6145f5ed91df
parent 27c5027141deb375548ff21d60112c80f50ee0ad
1 file changed +2 -2
modified pkg/create.c
@@ -206,8 +206,8 @@ exec_create(int argc, char **argv)
	}

	if (manifestdir == NULL)
-
		return pkg_create_matches(argc, argv, match, fmt, outdir, rootdir, overwrite);
+
		return pkg_create_matches(argc, argv, match, fmt, outdir, rootdir, overwrite) == EPKG_OK ? EXIT_SUCCESS : EXIT_FAILURE;
	else
-
		return pkg_create_fakeroot(outdir, fmt, rootdir, manifestdir);
+
		return pkg_create_fakeroot(outdir, fmt, rootdir, manifestdir) == EPKG_OK ? EXIT_SUCCESS : EXIT_FAILURE;
}