[Frugalware-darcs] setup-current: util: fw_system(): redirect stderr, too

VMiklos vmiklos at frugalware.org
Thu Mar 16 18:07:34 CET 2006


[util: fw_system(): redirect stderr, too
VMiklos <vmiklos at frugalware.org>**20051113001718] {
hunk ./src/util.c 220
-	return(system(g_strdup_printf("%s >%s", cmd, LOGDEV)));
+	return(system(g_strdup_printf("%s >%s 2>%s", cmd, LOGDEV, LOGDEV)));
hunk ./src/util.c 222
-	return(system(g_strdup_printf("echo %s >%s", cmd, LOGDEV)));
+	return(system(g_strdup_printf("echo %s >%s 2>%s", cmd, LOGDEV,
+		LOGDEV)));
}


More information about the Frugalware-darcs mailing list