Archived
1
0

Sanitarise input

This commit is contained in:
MatMoul 2025-08-22 03:43:50 +02:00
parent ac5d6f6cf6
commit 4ae4fc5e07

View File

@ -29,7 +29,7 @@ case ${1} in
exit 1
;;
esac
if [ "${2}" == "" ]; then
if [ "${2}" == "" ] || [[ "${2}" == */* ]]; then
showHelp
exit 1
fi