fixes typo
authorThomas Walker Lynch <eknp9n@reasoningtechnology.com>
Thu, 25 Sep 2025 11:19:05 +0000 (11:19 +0000)
committerThomas Walker Lynch <eknp9n@reasoningtechnology.com>
Thu, 25 Sep 2025 11:19:05 +0000 (11:19 +0000)
developer/source/mount/masu__map_own_all.sh
developer/source/mount/masu__subu_dir_list.sh [new file with mode: 0755]
developer/source/mount/masu__subu_dir_llst.sh [deleted file]

index 00bd96e..79d035b 100755 (executable)
@@ -9,7 +9,7 @@ fi
 user=$1
 
 # Get the list of sub-users by calling the user_list_subu_home.sh script
-subu_list=$(./masu__subu_dir_llst.sh "$user")
+subu_list=$(./masu__subu_dir_list.sh "$user")
 
 # Check if we received any sub-users
 if [ -z "$subu_list" ]; then
diff --git a/developer/source/mount/masu__subu_dir_list.sh b/developer/source/mount/masu__subu_dir_list.sh
new file mode 100755 (executable)
index 0000000..6b24a53
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+# Function to list sub-users in /home/<user>/subu
+subu_list() {
+  local user=$1
+  local subu_dir="/home/$user/subu"
+
+  if [ ! -d "/home/$user" ]; then
+    echo "Error: /home/$user does not exist!"
+    return 1
+  fi
+
+  if [ ! -d "$subu_dir" ]; then
+    echo "Error: $subu_dir does not exist!"
+    return 1
+  fi
+
+  # List all sub-users in the subu directory
+  find "$subu_dir" -maxdepth 1 -mindepth 1 -type d -exec basename {} \;
+}
+
+# Run the function with the user as an argument
+subu_list "$1"
diff --git a/developer/source/mount/masu__subu_dir_llst.sh b/developer/source/mount/masu__subu_dir_llst.sh
deleted file mode 100755 (executable)
index 6b24a53..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-# Function to list sub-users in /home/<user>/subu
-subu_list() {
-  local user=$1
-  local subu_dir="/home/$user/subu"
-
-  if [ ! -d "/home/$user" ]; then
-    echo "Error: /home/$user does not exist!"
-    return 1
-  fi
-
-  if [ ! -d "$subu_dir" ]; then
-    echo "Error: $subu_dir does not exist!"
-    return 1
-  fi
-
-  # List all sub-users in the subu directory
-  find "$subu_dir" -maxdepth 1 -mindepth 1 -type d -exec basename {} \;
-}
-
-# Run the function with the user as an argument
-subu_list "$1"