From 889308465f85205358db9ae91d53c6952233183e Mon Sep 17 00:00:00 2001 From: Juan David Hurtado G Date: Sun, 15 Dec 2024 21:06:59 -0500 Subject: [PATCH] shellcheck: mount. Style: indication of line continuation --- usr/local/share/bastille/mount.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/local/share/bastille/mount.sh b/usr/local/share/bastille/mount.sh index f9723509..bb0e6615 100644 --- a/usr/local/share/bastille/mount.sh +++ b/usr/local/share/bastille/mount.sh @@ -69,10 +69,10 @@ fi # if host path doesn't exist, type is not "nullfs" or are using advanced mount type "tmpfs,linprocfs,linsysfs, fdescfs, # procfs" -if { [ "${_hostpath}" = "tmpfs" ] && [ "$_type" = "tmpfs" ]; } || - { [ "${_hostpath}" = "linprocfs" ] && [ "${_type}" = "linprocfs" ]; } || - { [ "${_hostpath}" = "linsysfs" ] && [ "${_type}" = "linsysfs" ]; } || - { [ "${_hostpath}" = "proc" ] && [ "${_type}" = "procfs" ]; } || +if { [ "${_hostpath}" = "tmpfs" ] && [ "$_type" = "tmpfs" ]; } || \ + { [ "${_hostpath}" = "linprocfs" ] && [ "${_type}" = "linprocfs" ]; } || \ + { [ "${_hostpath}" = "linsysfs" ] && [ "${_type}" = "linsysfs" ]; } || \ + { [ "${_hostpath}" = "proc" ] && [ "${_type}" = "procfs" ]; } || \ { [ "${_hostpath}" = "fdesc" ] && [ "${_type}" = "fdescfs" ]; } then warn "Detected advanced mount type ${_hostpath}" elif [ ! -d "${_hostpath}" ] || [ "${_type}" != "nullfs" ]; then