From da5c41713c863fb7af2ae1524414622e52158991 Mon Sep 17 00:00:00 2001 From: Xavier Petit Date: Fri, 3 May 2019 18:23:45 +0100 Subject: [PATCH] Fix bug --- scripts/system/etc/gdm3/PostLogin/Default | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/system/etc/gdm3/PostLogin/Default b/scripts/system/etc/gdm3/PostLogin/Default index 3557d322..904367da 100755 --- a/scripts/system/etc/gdm3/PostLogin/Default +++ b/scripts/system/etc/gdm3/PostLogin/Default @@ -28,7 +28,7 @@ set -x sleep 0.5 # Find the removable F2FS partition -PART=$(lsblk -pro kname,partlabel | grep 01-home) +PART=$(lsblk -pro kname,partlabel | grep 01-home | cut -d' ' -f1) # Make sure the mountpoints are free ( @@ -42,7 +42,7 @@ then mount -o noatime "$PART" /mnt else # No removable F2FS partition found - PART=$(lsblk -pro kname,partlabel | grep 01-tmp-home) + PART=$(lsblk -pro kname,partlabel | grep 01-tmp-home | cut -d' ' -f1) if test -z "$PART" then