Sanitarise input
This commit is contained in:
parent
ac5d6f6cf6
commit
4ae4fc5e07
@ -29,7 +29,7 @@ case ${1} in
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
if [ "${2}" == "" ]; then
|
||||
if [ "${2}" == "" ] || [[ "${2}" == */* ]]; then
|
||||
showHelp
|
||||
exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user