run-command: call run_command_v_opt_cd_env() instead of duplicating it
[gitweb.git] / pager.c
diff --git a/pager.c b/pager.c
index 8b5cbc56e4fd57a1b9d2cad3e668df4c508a7b17..d0e4bc822c0e3d0f4fe93685b485cbc83c05ee46 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -18,7 +18,7 @@ struct pager_config {
  */
 
 static const char *pager_argv[] = { NULL, NULL };
-static struct child_process pager_process;
+static struct child_process pager_process = CHILD_PROCESS_INIT;
 
 static void wait_for_pager(void)
 {