Commit f59a33d
committed
shell: fix returncode that can be None in shell
Subprocess return code can be None, so we ensure that shell is returning
a -1 when this happens.
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>1 parent 03730c0 commit f59a33d
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| |||
0 commit comments