diff options
Diffstat (limited to 'remote/modules/run-virt/data/opt/openslx/scripts')
| -rw-r--r-- | remote/modules/run-virt/data/opt/openslx/scripts/includes/vmchooser_runvirt_functions.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/modules/run-virt/data/opt/openslx/scripts/includes/vmchooser_runvirt_functions.inc b/remote/modules/run-virt/data/opt/openslx/scripts/includes/vmchooser_runvirt_functions.inc index 267d89e4..f20b799f 100644 --- a/remote/modules/run-virt/data/opt/openslx/scripts/includes/vmchooser_runvirt_functions.inc +++ b/remote/modules/run-virt/data/opt/openslx/scripts/includes/vmchooser_runvirt_functions.inc @@ -39,8 +39,8 @@ cleanexit() { rv_clean_string() { if [ "$#" -ge 1 ]; then - echo "$@" | tr '[A-Z]' '[a-z]' | tr -d -c '[a-z0-9]' + echo "$@" | tr '[A-Z]' '[a-z]' | tr -d -c '[a-z0-9\-]' else - tr '[A-Z]' '[a-z]' | tr -d -c '[a-z0-9]' + tr '[A-Z]' '[a-z]' | tr -d -c '[a-z0-9\-]' fi } |
