[Pommed-commits] r471 - trunk/pommed

jblache at alioth.debian.org jblache at alioth.debian.org
Sun May 25 11:57:17 UTC 2008


Author: jblache
Date: 2008-05-25 11:57:15 +0000 (Sun, 25 May 2008)
New Revision: 471

Modified:
   trunk/pommed/pommed.c
Log:
Use exit(1) everywhere.


Modified: trunk/pommed/pommed.c
===================================================================
--- trunk/pommed/pommed.c	2008-05-25 10:55:21 UTC (rev 470)
+++ trunk/pommed/pommed.c	2008-05-25 11:57:15 UTC (rev 471)
@@ -681,7 +681,7 @@
 	  default:
 	    usage();
 
-	    exit(-1);
+	    exit(1);
 	    break;
 	}
     }
@@ -705,7 +705,7 @@
   ret = config_load();
   if (ret < 0)
     {
-      exit(-1);
+      exit(1);
     }
 
   /* Identify the machine we're running on */
@@ -791,7 +791,7 @@
 
 	  evdev_cleanup();
 
-	  exit(-1);
+	  exit(1);
 	}
     }
 
@@ -802,7 +802,7 @@
 
       evdev_cleanup();
 
-      exit(-1);
+      exit(1);
     }
   fprintf(pidfile, "%d\n", getpid());
   fclose(pidfile);




More information about the Pommed-commits mailing list