summaryrefslogtreecommitdiffstats
path: root/libexec/container/list
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-29 16:25:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-29 16:25:16 +0000
commit05396fc59ee97ace1186077ffedf075ca33149bc (patch)
tree431fcf68a19b2c7de7d71759a71af34273254502 /libexec/container/list
parentReleasing progress-linux version 20221223-6~progress7.99u1. (diff)
downloadopen-infrastructure-compute-tools-05396fc59ee97ace1186077ffedf075ca33149bc.tar.xz
open-infrastructure-compute-tools-05396fc59ee97ace1186077ffedf075ca33149bc.zip
Merging upstream version 20240829.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libexec/container/list')
-rwxr-xr-xlibexec/container/list4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/container/list b/libexec/container/list
index a56c1f8..25dd7e0 100755
--- a/libexec/container/list
+++ b/libexec/container/list
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2014-2022 Daniel Baumann <daniel.baumann@open-infrastructure.net>
+# Copyright (C) 2014-2024 Daniel Baumann <daniel.baumann@open-infrastructure.net>
#
# SPDX-License-Identifier: GPL-3.0+
#
@@ -327,7 +327,7 @@ esac
if ls "${MACHINES}"/* > /dev/null 2>&1
then
- CONTAINERS="$(cd "${MACHINES}" 2>/dev/null && find -maxdepth 1 \( -type d -or -type l \) -and -not -name 'lost+found' -printf '%P\n' | sort)"
+ CONTAINERS="$(cd "${MACHINES}" 2>/dev/null && find -maxdepth 1 \( -type d -or -type l \) -and -not -name 'lost+found' -printf '%P\n' | sort -V)"
fi
for CONTAINER in ${CONTAINERS}