Commit 53277ff
Fix varstore-sb-state exit code
In 'user' mode, varstore-sb-state exit code is the returned value of the
function setup_keys() which returns true on success and false otherwise.
The exit code is then 1 on success and 0 on failure, the opposite of the
'setup' mode.
This patch fixes the exit code, returning 0 when setup_keys() succeeds
and 1 otherwise.
Signed-off-by: Thierry Escande <[email protected]>1 parent 6eb856e commit 53277ff
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
0 commit comments