meta-digi-arm: udev: mount_digiparts: minor script syntax fix

Signed-off-by: David Escalona <david.escalona@digi.com>
This commit is contained in:
David Escalona 2023-08-01 12:43:02 +02:00
parent 87ebf1f15d
commit 1fe98681ac
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ fi
MOUNTPOINT="/mnt/${MOUNT_FOLDER}"
# Skip if partition is already mounted. For example R/O systems with the '/etc' overlay enabled mount the 'data' partition in very early stages.
if grep -qs "${MOUNTPOINT}" /proc/mounts;
if grep -qs "${MOUNTPOINT}" /proc/mounts; then
logger "Partition '${PARTNAME}' is already mounted, skipping..."
exit 0
fi