summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xretiolum/bin/update_tinc_hosts2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/bin/update_tinc_hosts b/retiolum/bin/update_tinc_hosts
index b3529a7f..7be30c2a 100755
--- a/retiolum/bin/update_tinc_hosts
+++ b/retiolum/bin/update_tinc_hosts
@@ -17,7 +17,7 @@ es='# END OF RETIOLUM'
case "${*-I am made of stupid}" in
(start|restart)
- hosts | grep -P "^(10|42)" | $0 replace magic
+ hosts | egrep "^(10|42)" | $0 replace magic
;;
(stop)
$0 clear magic