Make push_dir() output where we are when verbosity is high.
authorWayne Davison <wayned@samba.org>
Sat, 15 Dec 2007 15:39:33 +0000 (07:39 -0800)
committerWayne Davison <wayned@samba.org>
Sat, 15 Dec 2007 15:39:33 +0000 (07:39 -0800)
util.c

diff --git a/util.c b/util.c
index 7434193..2544b45 100644 (file)
--- a/util.c
+++ b/util.c
@@ -898,6 +898,9 @@ int push_dir(const char *dir, int set_path_only)
                curr_dir_depth = count_dir_elements(curr_dir + module_dirlen);
        }
 
+       if (verbose >= 5)
+               rprintf(FINFO, "[%s] dir is now %s\n", who_am_i(), curr_dir);
+
        return 1;
 }