From 5f83bac59c704d4a21a6e5f1d4e9e5ff13433f2a Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 3 Jun 2016 12:01:31 -0400 Subject: [PATCH] add line to delete empty directories --- scripts/zmaudit.pl.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/zmaudit.pl.in b/scripts/zmaudit.pl.in index f0c92b34f..cd34da590 100644 --- a/scripts/zmaudit.pl.in +++ b/scripts/zmaudit.pl.in @@ -249,6 +249,8 @@ MAIN: while( $loop ) { chdir( $Storage->Path() ); } # if USE_DEEP_STORAGE Debug( "Got ".int(keys(%$fs_events))." events\n" ); + + delete_empty_directories( $monitor_dir ); } # end foreach monitor redo MAIN if ( $cleaned );