Blame SOURCES/dvd+rw-tools-7.0-wexit.patch

6b477d
--- dvd+rw-tools-7.0/dvd+rw-format.cpp.wexit	2007-06-21 12:42:30.000000000 +0200
6b477d
+++ dvd+rw-tools-7.0/dvd+rw-format.cpp	2007-06-21 12:44:13.000000000 +0200
6b477d
@@ -245,7 +245,7 @@ int main (int argc, char *argv[])
6b477d
 	alarm(1);
6b477d
 	while ((waitpid(pid,&i,0) != pid) && !WIFEXITED(i)) ;
6b477d
 	if (WEXITSTATUS(i) == 0) fprintf (stderr,"\n");
6b477d
-	exit (0);
6b477d
+	exit (WEXITSTATUS(i));
6b477d
     }
6b477d
 #endif
6b477d