Repository navigation
Commit 1e6a130
Exit with 1 when reading EC state fails
--intrusion, --kblight, --ec-hib-delay and --privacy printed an error
but exited with 0 when the EC command failed, for example because the
EC firmware doesn't support it, like on the desktop.
Drop the extra "Not all EC versions support this comand." message from
--privacy, the error now explains InvalidCommand itself.
Tested on Framework Desktop (AMD Ryzen AI Max 300).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Daniel Schaefer <dhs@frame.work>1 parent d32701c commit 1e6a130
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1760 | 1760 | | |
1761 | 1761 | | |
1762 | 1762 | | |
| 1763 | + | |
1763 | 1764 | | |
1764 | 1765 | | |
1765 | 1766 | | |
| |||
1886 | 1887 | | |
1887 | 1888 | | |
1888 | 1889 | | |
| 1890 | + | |
1889 | 1891 | | |
1890 | 1892 | | |
1891 | 1893 | | |
| |||
1975 | 1977 | | |
1976 | 1978 | | |
1977 | 1979 | | |
1978 | | - | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
1979 | 1986 | | |
1980 | | - | |
1981 | 1987 | | |
1982 | 1988 | | |
1983 | 1989 | | |
| |||
2197 | 2203 | | |
2198 | 2204 | | |
2199 | 2205 | | |
2200 | | - | |
| 2206 | + | |
2201 | 2207 | | |
2202 | 2208 | | |
2203 | 2209 | | |
| |||
0 commit comments