Compare commits

..

No commits in common. "936d533fa19e4621386849dbcaba2fe1a12177d0" and "c1616bff755e23ffad88d2d817e2a7b4ba911873" have entirely different histories.

3 changed files with 3 additions and 9 deletions

View File

@ -3,10 +3,7 @@
dockerComposeDownAllApps()
{
local type="$1"
# runFileOp: containers/ is owned by the container user (dockerinstall, 751)
# under rootless and isn't list-readable by the manager — enumerate as the
# owner or this silently finds nothing and no apps get brought down.
local subdirectories=($(runFileOp find "$containers_dir" -mindepth 1 -maxdepth 1 -type d))
local subdirectories=($(find "$containers_dir" -mindepth 1 -maxdepth 1 -type d))
for dir in "${subdirectories[@]}"; do
local app_name=$(basename "$dir")

View File

@ -3,10 +3,7 @@
dockerComposeUpAllApps()
{
local type="$1"
# runFileOp: containers/ is owned by the container user (dockerinstall, 751)
# under rootless and isn't list-readable by the manager — enumerate as the
# owner or this silently finds nothing and no apps come up.
local subdirectories=($(runFileOp find "$containers_dir" -mindepth 1 -maxdepth 1 -type d))
local subdirectories=($(find "$containers_dir" -mindepth 1 -maxdepth 1 -type d))
for dir in "${subdirectories[@]}"; do
local app_name=$(basename "$dir")

View File

@ -14,7 +14,7 @@ webuiGenerateAppLogs()
# Fast approach: Scan containers directory directly
if [ -d "$containers_dir" ]; then
runFileOp find "$containers_dir" -maxdepth 1 -type d -not -path "$containers_dir" | while read -r dir; do
find "$containers_dir" -maxdepth 1 -type d -not -path "$containers_dir" | while read -r dir; do
local result=$(basename "$dir")
local app_name="$result"
total_apps=$((total_apps + 1))