diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/sys/geom/class/uzip/conf.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/sys/geom/class/uzip/conf.sh b/tests/sys/geom/class/uzip/conf.sh index 8a3b459..9a22841 100755 --- a/tests/sys/geom/class/uzip/conf.sh +++ b/tests/sys/geom/class/uzip/conf.sh @@ -6,8 +6,10 @@ base=`basename $0` uzip_test_cleanup() { - umount $mntpoint - rmdir $mntpoint + if [ -n "$mntpoint" ]; then + umount $mntpoint + rmdir $mntpoint + fi geom_test_cleanup } trap uzip_test_cleanup ABRT EXIT INT TERM |