Commit feebb8a
committed
test-pingpxe: fix identification of ping from busybox
Well, it was indeed working "by chance", as calling readlink on a non-link
returns empty, which instead of getting [ to return non-zero because
empty string is not "busybox" got it to return non-zero because the
comparison operator had no first operand.
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>1 parent 1354df4 commit feebb8a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments