From 184a5aa38a7d70b130a6e798736b5558e70237d8 Mon Sep 17 00:00:00 2001 From: natemaia Date: Tue, 29 Oct 2019 17:24:50 -0700 Subject: [PATCH] Fix message in the wrong place for finishing extra mounts --- archlabs-installer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archlabs-installer b/archlabs-installer index 9494470..4fced6c 100755 --- a/archlabs-installer +++ b/archlabs-installer @@ -1014,7 +1014,6 @@ select_mountpoint() EXMNT='' fi done - msg "Mount Extra" "\nMounting Finished\n\n\nNo extra partitions available to mount, returning to main menu.\n" 2 return 0 } @@ -1153,6 +1152,7 @@ select_extra_partitions() return 1 fi done + (( COUNT == 0 )) && msg "Mount Extra" "\nMounting Finished\n\n\nNo extra partitions available to mount, returning to main menu.\n" 2 return 0 }