Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Format comment
Baptiste Daroussin committed 6 years ago
commit fd403b88b5441b90737bfd1c43412e07227207a0
parent b2ef3ed
1 file changed +2 -2
modified libpkg/scripts.c
@@ -159,8 +159,8 @@ pkg_script_run(struct pkg * const pkg, pkg_script type, bool upgrade)
			posix_spawn_file_actions_adddup2(&action, cur_pipe[1], 4);
			posix_spawn_file_actions_addclose(&action, cur_pipe[0]);
			/*
-
			 * consider cur_pipe[1] to probably be the lastest opened fd
-
			 * close all unuseful fd up to there
+
			 * consider cur_pipe[1] to probably be the lastest
+
			 * opened fd close all unuseful fd up to there
			 */
			for (int i = 5; i <= cur_pipe[1]; i++) {
				if (i != cur_pipe[0])