diff cinst/mozilla.c @ 278:539c856cb5da

Ditched warning about no profiles for separate failed add/remove warnings.
author Sascha Wilde <wilde@intevation.de>
date Wed, 02 Apr 2014 13:17:04 +0200
parents 22408d797c92
children cb5f082e90c5
line wrap: on
line diff
--- a/cinst/mozilla.c	Wed Apr 02 13:10:40 2014 +0200
+++ b/cinst/mozilla.c	Wed Apr 02 13:17:04 2014 +0200
@@ -270,7 +270,6 @@
   if (inis == NULL)
     {
       DEBUGPRINTF("No ini files found - will do nothing!\n");
-      exit(WARN_MOZ_NO_PROFILES);
     }
   return inis;
 }
@@ -556,7 +555,7 @@
             {
               puts(pdirs[i]);
               if (! remove_cert(pdirs[i], secitemp))
-                return_code |= WARN_MOZ_COULD_NOT_ADD_OR_REMOVE_CERT;
+                return_code |= WARN_MOZ_COULD_NOT_REMOVE_CERT;
               puts("List of installed certs:");
               nss_list_certs(pdirs[i]);
             }
@@ -570,7 +569,7 @@
             {
               puts(pdirs[i]);
               if (! import_cert(pdirs[i], secitemp))
-                return_code |= WARN_MOZ_COULD_NOT_ADD_OR_REMOVE_CERT;
+                return_code |= WARN_MOZ_COULD_NOT_ADD_CERT;
               nss_list_certs(pdirs[i]);
             }
           free(secitemp->data);

http://wald.intevation.org/projects/trustbridge/