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

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