mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
update comment
This commit is contained in:
parent
103958d102
commit
78d7889b07
@ -44,8 +44,7 @@ log() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Check ftp command
|
# Check ftp command
|
||||||
check_commands() {
|
check_command() {
|
||||||
# Iterate over the list of binaries, and if one isn't found, abort
|
|
||||||
if [ ! "$(command -v "ftp")" ]; then
|
if [ ! "$(command -v "ftp")" ]; then
|
||||||
log "ftp command is not installed, please install it and try again"
|
log "ftp command is not installed, please install it and try again"
|
||||||
exit 1
|
exit 1
|
||||||
@ -90,7 +89,7 @@ STARTTIME=$(date +%s)
|
|||||||
|
|
||||||
log "Upload progress start"
|
log "Upload progress start"
|
||||||
|
|
||||||
check_commands
|
check_command
|
||||||
|
|
||||||
for i in $@
|
for i in $@
|
||||||
do
|
do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user