Skip to content

Commit d498ac4

Browse files
committed
Remove the check here
1 parent 492b9cf commit d498ac4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

bin/v-restart-web

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ send_email_report() {
4747

4848
is_format_valid 'restart'
4949

50-
if [[ ! $version =~ ^[0-9]\.[0-9]+ ]]; then
51-
echo "The specified PHP version format is invalid, it should look like [0-9].[0-9]."
52-
echo "Example: 7.0, 7.4, 8.0"
53-
exit "$E_INVALID"
54-
fi
55-
5650
#----------------------------------------------------------#
5751
# Action #
5852
#----------------------------------------------------------#

0 commit comments

Comments
 (0)