remove new line in output and error logs

This commit is contained in:
Julio Montes
2015-11-27 12:41:42 -06:00
parent e92fd7cb02
commit d4963adb31
+2 -2
View File
@@ -82,12 +82,12 @@ bool exec_task(const gchar* command_line) {
LOG(MOD "Error: %s\n", (char*)error->message);
}
if (standard_error) {
LOG(MOD "STD Error: %s\n", (char*)standard_error);
LOG(MOD "STD Error: %s", (char*)standard_error);
}
}
if (standard_output) {
LOG(MOD "STD output: %s\n", (char*)standard_output);
LOG(MOD "STD output: %s", (char*)standard_output);
g_free(standard_output);
}