+ fprintf(stderr, "ERROR in fork (big problem)\n");
+
+ // try to at least save the picture (the ugly way)
+ char *cmd = "cp tmp.jpg bilder/xxxxxx.jpg";
+ for (unsigned int i = 0; i < 6; ++i) {
+ cmd[i + 18] = id[i];
+ }
+ if (system(cmd) != 0)
+ perror("ERROR in system(), picture could not be saved");
+
+ // go back to start, dont show qr
+ pb_show_main();
+ return;