]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
sync_apv return success added
authorhadaq <hadaq>
Tue, 14 Feb 2012 20:14:49 +0000 (20:14 +0000)
committerhadaq <hadaq>
Tue, 14 Feb 2012 20:14:49 +0000 (20:14 +0000)
trbrich/trbrichcmd.c

index 0bdccca265649a01a058d2489f6788868dcaab38..48388f43d273e3e4a2c270d40d5700b50d9b104e 100644 (file)
@@ -15,7 +15,7 @@
 
 static const uint16_t BroadCastRich = 0xfffb;
 
-static const char trbrichcmd_version[] = "$Revision: 1.13 $"; 
+static const char trbrichcmd_version[] = "$Revision: 1.14 $"; 
 
 static const uint16_t adcm_uid_register = 0xc000;
 
@@ -342,9 +342,9 @@ int main(int argc, char** argv)
     }
     if (success == 0) {
       fprintf(stderr, "sync_apv failed\n");
+      exit (EXIT_FAILURE);
     }
     free(buffer);
-    
   } else {
     usage(basename(argv[0]));
     exit(EXIT_FAILURE);