From d71fddc7d2eafd8630fca56857b434a5f59938df Mon Sep 17 00:00:00 2001 From: edwin170 Date: Wed, 1 May 2024 15:55:45 -0400 Subject: [PATCH] let see --- downr1n.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/downr1n.sh b/downr1n.sh index 3e8d2e6..c44a90d 100755 --- a/downr1n.sh +++ b/downr1n.sh @@ -926,8 +926,7 @@ if [ true ]; then remote_cmd "/usr/bin/mount_filesystems_nouser 2>/dev/null" fi - has_active=$(remote_cmd "ls /mnt6/active" 2> /dev/null) - if [ ! "$has_active" = "/mnt6/active" ] && [[ ! "$version" = "13."* ]]; then + if [ ! "$(remote_cmd "ls /mnt6/active")" = "/mnt6/active" ] && [[ ! "$version" = "13."* ]]; then echo "[!] Active file does not exist! Please use SSH to create it" echo " /mnt6/active should contain the name of the UUID in /mnt6" echo " When done, type reboot in the SSH session, then rerun the script"