[sysadmin-bin] These are digits
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] These are digits
- Date: Wed, 13 Jun 2018 07:59:12 +0000 (UTC)
commit 46e1a4ee0a06a8f43560b2ea235302949fc6662f
Author: Andrea Veri <averi redhat com>
Date: Wed Jun 13 09:58:58 2018 +0200
These are digits
gnomeweb/list-abusers | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomeweb/list-abusers b/gnomeweb/list-abusers
index e631a51..2a89f5b 100755
--- a/gnomeweb/list-abusers
+++ b/gnomeweb/list-abusers
@@ -54,7 +54,7 @@ access_log$1.gz
while read filetest; do
if [ -e "$filetest" ]; then
FILE="$filetest"
- if [[ `head -n 1 $filetest | cut -d' ' -f1` =~ ^d+\.d+\.d+\.d+$ ]]; then
+ if [[ `head -n 1 $filetest | cut -d' ' -f1` =~ ^\d+\.\d+\.\d+\.\d+$ ]]; then
IS_UNPROXIED_SCRIPT='true'
else
IS_REVERSE_PROXY_SCRIPT='true'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]