summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commit2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commit2.c b/src/commit2.c
index d45b7c0..884d2fe 100644
--- a/src/commit2.c
+++ b/src/commit2.c
@@ -369,6 +369,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) {