summaryrefslogtreecommitdiff
path: root/src/commit2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commit2.c')
-rw-r--r--src/commit2.c1
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) {