我有一配合flashgot调用wget下载东东的shell脚本代码:#!/bin/bashtmp="$*"recordfile=$HOME/.wgetrecord.log#如果日志文件不存在则创建日志文件if [ ! -f "$recordfile" ]thenecho "#This is a record of wget download history, Please back up it usually"$recordfilefi#添加本次记录echo "`date +%F`-`date +%T` $tmp"$recordfileexport tmpexec xterm -title "wget" -e 'wget $tmpread -n 1exit 0'exit 0我想在记录之后标注是否下载成功,即下载完成?看
返回值这招不灵啊