acpica-tools/badexit.patch
Al Stone d7f8eec1b2 Update to 20191018 upstream source with refreshed patches
Signed-off-by: Al Stone <ahs3@redhat.com>
2019-11-23 16:16:51 -07:00

19 lines
608 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>
Index: acpica-unix-20191018/source/compiler/asloptions.c
===================================================================
--- acpica-unix-20191018.orig/source/compiler/asloptions.c
+++ acpica-unix-20191018/source/compiler/asloptions.c
@@ -111,7 +111,7 @@ AslCommandLine (
{
exit (-1);
}
- exit (1);
+ exit (0);
}
/* Next parameter must be the input filename */