Skip to content

Commit

Permalink
fix test condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Nov 6, 2022
1 parent 329cfa9 commit 76051a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/tests/nfsroot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ trap "cp -vp /var/log/fai/fai-make-nfsroot.log nfsroot.log $AUTOPKGTEST_ARTIFACT
fai-make-nfsroot -gv > nfsroot.log
err=$?
echo "exit code fai-make-nfsroot: $err"
if [ $err ]; then
if [ $err -ne 0 ]; then
error "ERROR: fai-make-nfsroot exit code $err"
fi

Expand Down

0 comments on commit 76051a2

Please sign in to comment.