mirror of
https://github.com/arkenfox/user.js.git
synced 2025-05-01 14:33:38 +02:00
fix old comment
This commit is contained in:
parent
0b88b94937
commit
f185193c33
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ Optional Arguments:
|
||||||
download_file () { # expects URL as argument ($1)
|
download_file () { # expects URL as argument ($1)
|
||||||
declare -r tf=$(mktemp)
|
declare -r tf=$(mktemp)
|
||||||
|
|
||||||
$DOWNLOAD_METHOD "${tf}" "$1" && echo "$tf" || exit 1 # return the temp-filename (or empty string on error)
|
$DOWNLOAD_METHOD "${tf}" "$1" && echo "$tf" || exit 1 # return the temp-filename or exit on error
|
||||||
}
|
}
|
||||||
|
|
||||||
open_file () { #expects one argument: file_path
|
open_file () { #expects one argument: file_path
|
||||||
|
|
Loading…
Add table
Reference in a new issue