We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10f7e0d commit 3dfb7f9Copy full SHA for 3dfb7f9
bin/v-restart-web-backend
@@ -37,7 +37,7 @@ send_email_report() {
37
is_format_valid 'restart'
38
39
if [ -z "$version" ]; then
40
- if [[ ! $version =~ ^[0-9]\.[0-9]+ ]]; then
+ if [[ ! $version =~ ^[0-9]+\.[0-9]+ ]]; then
41
echo "The specified PHP version format is invalid, it should look like [0-9].[0-9]."
42
echo "Example: 7.0, 7.4, 8.0"
43
exit "$E_INVALID"
0 commit comments