add line to delete empty directories

This commit is contained in:
Isaac Connor 2016-06-03 12:01:31 -04:00
parent ad185809f8
commit 5f83bac59c
1 changed files with 2 additions and 0 deletions

View File

@ -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 );