We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8e1dd9 commit 363cbc1Copy full SHA for 363cbc1
drupal/rootfs/etc/s6-overlay/scripts/development-environment.sh
@@ -11,6 +11,9 @@ if [[ -z "${UID}" ]]; then
11
exit 0
12
fi
13
14
+# ensure no new lines or other non-digits
15
+UID=$(echo "${UID}" | tr -cd '0-9')
16
+
17
# Get the current user for this UID (if any) - don't fail if not found
18
EXISTING_USER=$(getent passwd "${UID}" 2>/dev/null | cut -d: -f1 || true)
19
0 commit comments