diff options
-rw-r--r-- | capsman-download-packages | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/capsman-download-packages b/capsman-download-packages index 339c70d..b6bff3a 100644 --- a/capsman-download-packages +++ b/capsman-download-packages @@ -22,7 +22,10 @@ $WaitFullyConnected; :local Updated false; :if ([ :len [ / file find where name=$PackagePath type="directory" ] ] = 0) do={ - $MkDir $PackagePath; + :if ([ $MkDir $PackagePath ] = false) do={ + $LogPrintExit warning ("Creating directory at package path (" . \ + $PackagePath . ") failed!") true; + } $LogPrintExit info ("Created directory at package path (" . $PackagePath . \ "). Please place your packages!") false; } |