diff options
author | Michael Larson <slioch@slioch.vyatta.com> | 2010-07-23 13:17:24 -0700 |
---|---|---|
committer | Michael Larson <slioch@slioch.vyatta.com> | 2010-07-23 13:17:24 -0700 |
commit | a213dd1c48581294fc967e7198d78ca270c6ae46 (patch) | |
tree | a21453b86a7b48eb822fd44e01007d0d9d0fc1ac | |
parent | 9a9100e3f7d34d1e7589e3e93e6a27da9666d3da (diff) | |
download | vyatta-cfg-a213dd1c48581294fc967e7198d78ca270c6ae46.tar.gz vyatta-cfg-a213dd1c48581294fc967e7198d78ca270c6ae46.zip |
allow commit hook commands to write to stdout.
-rw-r--r-- | src/commit2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commit2.c b/src/commit2.c index e3cc3df..05b3d9d 100644 --- a/src/commit2.c +++ b/src/commit2.c @@ -368,6 +368,7 @@ main(int argc, char** argv) setenv(ENV_COMMIT_STATUS,"FAILURE",1); } struct dirent *dirp = NULL; + restore_output(); while ((dirp = readdir(dp)) != NULL) { if (strcmp(dirp->d_name, ".") != 0 && strcmp(dirp->d_name, "..") != 0) { |