mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-04 18:25:17 +02:00
global-functions: $FetchHuge: use $RmDir
This commit is contained in:
parent
d19b90df08
commit
4760515add
1 changed files with 3 additions and 2 deletions
|
@ -457,6 +457,7 @@
|
|||
:global IfThenElse;
|
||||
:global LogPrint;
|
||||
:global MkDir;
|
||||
:global RmDir;
|
||||
:global RmFile;
|
||||
:global WaitForFile;
|
||||
|
||||
|
@ -477,7 +478,7 @@
|
|||
$RmFile $FileName;
|
||||
}
|
||||
$LogPrint debug $0 ("Failed downloading from: " . $Url);
|
||||
/file/remove $DirName;
|
||||
$RmDir $DirName;
|
||||
:return false;
|
||||
}
|
||||
$WaitForFile $FileName;
|
||||
|
@ -493,7 +494,7 @@
|
|||
:delay 100ms;
|
||||
}
|
||||
}
|
||||
/file/remove $DirName;
|
||||
$RmDir $DirName;
|
||||
:return $Return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue