Your Name 4 years ago
parent
commit
5949d768f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      badown

+ 1 - 1
badown

@@ -143,7 +143,7 @@ function mega {
       file_url=$(json_post 'g' $(json_req "[{\"a\":\"g\",\"g\":1,\"p\":\"$id\"}]" '?'))
       file_downdec $file_url "$file_name" $meta_key $meta_iv
    fi
-   #rm .badown.tmp
+   if [ -f .badown.tmp ]; then rm .badown.tmp;fi
 }
 function switch {
    if [[ "$1" == *"mega"* ]]