diff options
| -rw-r--r-- | lisp/pcmpl-linux.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/pcmpl-linux.el b/lisp/pcmpl-linux.el index 082072d87d2..589b4799c8d 100644 --- a/lisp/pcmpl-linux.el +++ b/lisp/pcmpl-linux.el | |||
| @@ -119,7 +119,8 @@ Test is done using `equal'." | |||
| 119 | (with-temp-buffer | 119 | (with-temp-buffer |
| 120 | (apply #'call-process | 120 | (apply #'call-process |
| 121 | "systemctl" nil '(t nil) nil | 121 | "systemctl" nil '(t nil) nil |
| 122 | "list-units" "--full" "--legend=no" "--plain" args) | 122 | ;; "--legend=no" doesn't exist before systemd v248 |
| 123 | "list-units" "--full" "--no-legend" "--plain" args) | ||
| 123 | (goto-char (point-min)) | 124 | (goto-char (point-min)) |
| 124 | (let (result) | 125 | (let (result) |
| 125 | (while (re-search-forward (rx bol (group (+ (not space))) | 126 | (while (re-search-forward (rx bol (group (+ (not space))) |