From de6382702d559d3a52925694e8b81f77b53f6705 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 2 Jul 2024 13:02:41 -0400 Subject: [PATCH] fix regex --- roles/kvmhost/files/simple/usr/local/bin/savannah-virsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kvmhost/files/simple/usr/local/bin/savannah-virsh b/roles/kvmhost/files/simple/usr/local/bin/savannah-virsh index 12d5e4f..5d0471d 100755 --- a/roles/kvmhost/files/simple/usr/local/bin/savannah-virsh +++ b/roles/kvmhost/files/simple/usr/local/bin/savannah-virsh @@ -28,7 +28,7 @@ set -eE -o pipefail trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR -regex='^[a-z. ]*$' +regex='^[a-z0-9. ]*$' # restricted ssh does not allow arguments, but they exist in this env variable. # The var comes with a leading space, remove it. -- 2.25.1