From: anton Date: Fri, 13 Oct 2023 19:28:59 +0000 (+0000) Subject: Use the idiom in cleanup target like many others X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1e9e79f0e0531c0d7c52d3708288f54a8ca3b5d0;p=openbsd Use the idiom in cleanup target like many others in regress already does. --- diff --git a/regress/sys/fileops/Makefile.inc b/regress/sys/fileops/Makefile.inc index 5a898f929c4..9f80b401b5f 100644 --- a/regress/sys/fileops/Makefile.inc +++ b/regress/sys/fileops/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.5 2023/10/10 18:17:25 anton Exp $ +# $OpenBSD: Makefile.inc,v 1.6 2023/10/13 19:28:59 anton Exp $ PERL_REQUIRE != perl -e 'eval { require File::Slurp } or print $$@' @@ -27,7 +27,7 @@ mount: disk REGRESS_CLEANUP+= umount umount: - umount ${FILEOPS_MNT} + umount -f ${FILEOPS_MNT} || true REGRESS_CLEANUP+= unconfig unconfig: