Fix manual exit after skt failures
The original code always exited with 1. If skt's retcode is 0, the test
command fails. As the command after &&
is only executed if the
previous command in the chain succeeds it doesn't ran. Because of our
bash setup the pipeline fails after any failing command.
The fix is simple, just use the test command in if condition.
Signed-off-by: Veronika Kabatova vkabatov@redhat.com