summaryrefslogtreecommitdiff
path: root/src/commit2.cpp
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2011-05-12 22:47:30 +0800
committerAn-Cheng Huang <ancheng@vyatta.com>2011-05-12 22:47:30 +0800
commit363838cb3f8d2cda86ae46d8decddcbec3b7cb1c (patch)
tree5561fdfc99fdd67d735724b0670affc268a84215 /src/commit2.cpp
parentbf812ad3fba8a9fec957fecbbfcf41258d67c08b (diff)
downloadvyatta-cfg-363838cb3f8d2cda86ae46d8decddcbec3b7cb1c.tar.gz
vyatta-cfg-363838cb3f8d2cda86ae46d8decddcbec3b7cb1c.zip
fix for bug 6771
* reimplement process management to fix breakage caused by commit 792d6aa0dd0ecfd45c9b5ab57c6c0cb71a9b8da6.
Diffstat (limited to 'src/commit2.cpp')
-rw-r--r--src/commit2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commit2.cpp b/src/commit2.cpp
index 45d53bc..be51069 100644
--- a/src/commit2.cpp
+++ b/src/commit2.cpp
@@ -639,13 +639,13 @@ process_func(GNode *node, gpointer data)
if (g_old_print_output == TRUE) {
status
= execute_list(c->_def.actions[result->_action].vtw_list_head,
- &c->_def, NULL, g_print_error_location_all);
+ &c->_def, NULL);
}
else {
char *p = process_script_path(d->_path);
status
= execute_list(c->_def.actions[result->_action].vtw_list_head,
- &c->_def, p, g_print_error_location_all);
+ &c->_def, p);
free(p);
}
} else {
@@ -1458,12 +1458,12 @@ validate_func(GNode *node, gpointer data)
if (g_old_print_output == TRUE) {
status
= execute_list(c->_def.actions[result->_action].vtw_list_head,
- &c->_def, NULL, g_print_error_location_all);
+ &c->_def, NULL);
} else {
char *p = process_script_path(d->_path);
status
= execute_list(c->_def.actions[result->_action].vtw_list_head,
- &c->_def, p, g_print_error_location_all);
+ &c->_def, p);
free(p);
}
unsetenv(ENV_DATA_PATH);