summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c
index a136b58..a8edbaf 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -257,7 +257,11 @@ int main(int argc, char **argv)
struct stat statbuf;
int st;
boolean update_pending = FALSE;
-
+
+ if (initialize_output() == -1) {
+ exit(-1);
+ }
+
set_in_commit(TRUE);
dump_log( argc, argv);
init_paths(TRUE);