fix issue. return the actual retcode.

This commit is contained in:
neil 2016-05-09 22:56:19 +08:00
parent c839b2b039
commit d3595686f6

View File

@ -2393,6 +2393,10 @@ _process() {
return 1 return 1
;; ;;
esac esac
_ret="$?"
if [ "$_ret" != "0" ] ; then
return $_ret
fi
if [ "$_useragent" ] ; then if [ "$_useragent" ] ; then
_saveaccountconf "USER_AGENT" "$_useragent" _saveaccountconf "USER_AGENT" "$_useragent"