fix issue. return the actual retcode.

This commit is contained in:
neil 2016-05-09 22:56:19 +08:00
parent c839b2b039
commit d3595686f6
1 changed files with 4 additions and 0 deletions

View File

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