aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhlwm-run-or-raise2
1 files changed, 1 insertions, 1 deletions
diff --git a/hlwm-run-or-raise b/hlwm-run-or-raise
index a06da24..de2dbe1 100755
--- a/hlwm-run-or-raise
+++ b/hlwm-run-or-raise
@@ -14,7 +14,7 @@
(submatch "0x" (+ hex-digit))
"\n"))
(match (regexp-search re output)))
- (match:substring match 1)))
+ (and match (match:substring match 1))))
(define (pull-element-to-front elt collection)
(if (string= (car collection) elt)