GNOME Bugzilla – Bug 792245
the wixl command return code is 0 for parse errors
Last modified: 2020-11-17 11:12:41 UTC
Overview: The return code for the wixl command is 0 when encountering an parse error Steps to reproduce: --- root@2ceb7867cb47:/opt/test# echo " " > test.wxs root@2ceb7867cb47:/opt/test# wixl test.wxs :1: parser error : Extra content at the end of the document ^ Entity: line 3: parser error : Extra content at the end of the document error : xmlTextWriterWriteDocCallback : XML error 5 ! root@2ceb7867cb47:/opt/test# echo $? 0 root@2ceb7867cb47:/opt/test# wixl --version 0.95 root@2ceb7867cb47:/opt/test# ls -l total 12 -rw-r--r-- 1 root root 7168 Jan 5 15:24 test.msi -rw-r--r-- 1 root root 2 Jan 5 15:24 test.wxs --- Expected result: a non-zero return code
fixed: https://gitlab.gnome.org/GNOME/msitools/-/commit/ca7dc89cd0e820a8e349a8f3c64427916764776e thanks