fapolicyd icon indicating copy to clipboard operation
fapolicyd copied to clipboard

Document exit codes from CLI

Open jasonparallel opened this issue 2 years ago • 4 comments

The cli seems to use non-standard exit codes, for example adding a file it looks like -1 is error, 1 is nothing added, 0 is something added. Are they going to be stable to be counted on when scripting? Can they be documented?

jasonparallel avatar Aug 11 '23 19:08 jasonparallel

This is in the current plans for the next release.

stevegrubb avatar Oct 19 '25 16:10 stevegrubb

PR #383 should address this.

stevegrubb avatar Nov 25 '25 17:11 stevegrubb

Closing this since 1.4.2 was released with this fix.

stevegrubb avatar Dec 04 '25 02:12 stevegrubb

Re-openning, https://github.com/linux-application-whitelisting/fapolicyd/pull/383 is not merged yet and given the number of failing tests, it was postponed to the next release.

bachradsusi avatar Dec 04 '25 08:12 bachradsusi