Run exit 1 in the %post part of the package.spec file. The result is "warning: 
%post(xxx) scriptlet failed, exit status 1" . The command output obtained by 
using shell command ($?) is 0. How can I make ($?) to obtained the correct exit 
result: 1.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2374#discussioncomment-5655491
You are receiving this because you are subscribed to this thread.

Message ID: 
<rpm-software-management/rpm/repo-discussions/2374/comments/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to