Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Comparing to 0 is more proper here instead of EX_OK due to lack of using WEXITSTATUS() on the return code.
Bryan Drewery committed 12 years ago
commit 0bc7f49888623c6693f688844cc83aa419381179
parent a7cae086195d5087c2ec95225b5121c9f0c3e4db
1 file changed +1 -1
modified libpkg/pkg_repo.c
@@ -493,7 +493,7 @@ cmd_sign(char *path, char **argv, int argc, struct sbuf **sig, struct sbuf **cer
			sbuf_bcat(buf, line, linelen);
	}

-
	if (pclose(fp) != EX_OK) {
+
	if (pclose(fp) != 0) {
		ret = EPKG_FATAL;
		goto done;
	}