Skip to content
Commit 392f60b0 authored by Yuta Hayama's avatar Yuta Hayama Committed by Steve Sakoman
Browse files

systemd-systemctl: fix errors in instance name expansion



If the instance name indicated by %i begins with a number, the meaning of the
replacement string "\\1{}".format(instance) is ambiguous.

To indicate group number 1 regardless of the instance name, use "\g<1>".

Signed-off-by: default avatarYuta Hayama <hayama@lineo.co.jp>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d18b939f)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 2c927802
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment