diff options
Diffstat (limited to 'win32/rmdirs.bat')
-rwxr-xr-x | win32/rmdirs.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/rmdirs.bat b/win32/rmdirs.bat index a8549cc125..829e93d911 100755 --- a/win32/rmdirs.bat +++ b/win32/rmdirs.bat @@ -10,7 +10,7 @@ if "%1" == "" goto :end if not exist "%dir%\." goto :begin
if "%dir%" == "." goto :begin
if "%dir%" == ".." goto :begin
- rd "%dir%" || goto :begin
+ rd "%dir%" 2> nul || goto :begin
:trim_sep
if not /%dir:~-1%/ == /\/ goto :trim_base
set dir=%dir:~0,-1%
|