acpica-tools/badexit.patch
Al Stone 0acf62d4a9 Add in a patch to fix incorrect exit status from iasl
Signed-off-by: Al Stone <ahs3@redhat.com>
2019-10-29 17:41:12 -06:00

18 lines
656 B
Diff

When iasl is invoked with 'iasl -T ALL', and everything works correctly,
it still exits with a non-zero value. Exit with zero if all is well.
Signed-off-by: Al Stone <ahs3@redhat.com>
diff -Naur acpica-unix2-20190816/source/compiler/asloptions.c acpica-unix2-20190816.fix/source/compiler/asloptions.c
--- acpica-unix2-20190816/source/compiler/asloptions.c 2019-08-16 09:01:30.000000000 -0600
+++ acpica-unix2-20190816.fix/source/compiler/asloptions.c 2019-10-29 15:52:40.987156555 -0600
@@ -111,7 +111,7 @@
{
exit (-1);
}
- exit (1);
+ exit (0);
}
/* Next parameter must be the input filename */