aboutsummaryrefslogtreecommitdiff
path: root/etc/default.fln
diff options
context:
space:
mode:
Diffstat (limited to 'etc/default.fln')
-rw-r--r--etc/default.fln11
1 files changed, 9 insertions, 2 deletions
diff --git a/etc/default.fln b/etc/default.fln
index 178af18..d3da5eb 100644
--- a/etc/default.fln
+++ b/etc/default.fln
@@ -15,8 +15,15 @@
along with Eclat. If not, see <http://www.gnu.org/licenses/>. */
if (.Response.Errors) {
- error("Error: ",.Response.Errors.Error.Message,"\n");
- exit(1);
+ if (.Response.Errors.Error.Code[DryRunOperation]) {
+ print(dequote(.Response.Errors.Error.Message),"\n");
+ } else if (.Response.Errors.Error.Code[UnauthorizedOperation]) {
+ error(dequote(.Response.Errors.Error.Message),"\n");
+ exit(1);
+ } else {
+ error("Error: ",dequote(.Response.Errors.Error.Message),"\n");
+ exit(1);
+ }
} else {
error("Unrecognized response:\n");
dump(.);

Return to:

Send suggestions and report system problems to the System administrator.