Project

General

Profile

« Previous | Next » 

Revision 366d1482

Added by Renato Botelho almost 10 years ago

Exit script when _exec fails

View differences:

src/usr/local/sbin/pfSense-upgrade
104 104
	else
105 105
		[ -n "${_stdout}" ] \
106 106
			&& _echo "failed."
107
		return 1
107
		exit 1
108 108
	fi
109 109
}
110 110

  

Also available in: Unified diff