Commit 5b29567
committed
sof-kernel-log-check.sh: simplify journalctl logic
No functional change.
- Get rid of the "if $ignore_str" condition because it's not going to be
empty anytime soon. It will be a very good problem to have when it is!
Then it will be easy to turn it into an array like in the next commit.
- Don't check whether the $err string is empty but use the `grep` exit
status directly.
Signed-off-by: Marc Herbert <marc.herbert@intel.com>1 parent ed3b230 commit 5b29567
1 file changed
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | 430 | | |
437 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
438 | 434 | | |
439 | 435 | | |
440 | 436 | | |
441 | 437 | | |
442 | 438 | | |
443 | 439 | | |
444 | | - | |
| 440 | + | |
| 441 | + | |
0 commit comments