diff options
Diffstat (limited to 'etc/default.fln')
-rw-r--r-- | etc/default.fln | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/default.fln b/etc/default.fln index 2e2f690..9a6f140 100644 --- a/etc/default.fln +++ b/etc/default.fln @@ -14,9 +14,11 @@ You should have received a copy of the GNU General Public License along with Eclat. If not, see <http://www.gnu.org/licenses/>. */ -if (.Response.Errors) +if (.Response.Errors) { error("Error: ",.Response.Errors.Error.Message,"\n"); -else { + exit(1); +} else { error("Unrecognized response:\n"); dump(.); + exit(2); } |