diff options
Diffstat (limited to '')
-rw-r--r-- | usr.sbin/syspatch/syspatch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/syspatch/syspatch.sh b/usr.sbin/syspatch/syspatch.sh index 8676760e887..e3a0fa643f4 100644 --- a/usr.sbin/syspatch/syspatch.sh +++ b/usr.sbin/syspatch/syspatch.sh @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: syspatch.sh,v 1.36 2016/11/04 14:18:45 ajacoutot Exp $ +# $OpenBSD: syspatch.sh,v 1.37 2016/11/04 14:55:29 ajacoutot Exp $ # # Copyright (c) 2016 Antoine Jacoutot <ajacoutot@openbsd.org> # @@ -84,7 +84,7 @@ checkfs() local _d _f for _d in $(stat -qf "%Sd" $(for _f in ${_files}; do echo /${_f%/*} - done | uniq)); do mount | grep -q "^/dev/${_d} .* read-only" && + done | uniq)); do mount | grep -q "^/dev/${_d} .*read-only" && sp_err "Remote or read-only filesystem, aborting" done } |