archrelease: copy trunk to staging-x86_64
[arch-packages.git] / dvd+rw-tools / trunk / dvd+rw-tools-7.0-wexit.patch
blobe7910cbdd7b825b027ca7d731972ab558fcc8500
1 --- dvd+rw-tools-7.0/dvd+rw-format.cpp.wexit 2007-06-21 12:42:30.000000000 +0200
2 +++ dvd+rw-tools-7.0/dvd+rw-format.cpp 2007-06-21 12:44:13.000000000 +0200
3 @@ -245,7 +245,7 @@ int main (int argc, char *argv[])
4 alarm(1);
5 while ((waitpid(pid,&i,0) != pid) && !WIFEXITED(i)) ;
6 if (WEXITSTATUS(i) == 0) fprintf (stderr,"\n");
7 - exit (0);
8 + exit (WEXITSTATUS(i));
10 #endif