summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xautodetect.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autodetect.sh b/autodetect.sh
index 5ce4774..478fb0c 100755
--- a/autodetect.sh
+++ b/autodetect.sh
@@ -23,11 +23,11 @@ detect_status() {
}
detect_connected() {
- sed -n -e 's/^\([[A-Za-z0-9-]*\)\s*connected.*$/\1/p'
+ sed -n -e 's/^\([A-Za-z0-9-]*\)\s*connected.*$/\1/p'
}
detect_disconnected() {
- sed -n -e 's/^\([[A-Za-z0-9-]*\)\s*disconnected.*$/\1/p'
+ sed -n -e 's/^\([A-Za-z0-9-]*\)\s*disconnected.*$/\1/p'
}
rest_off() {