Skip to content
Commit d18b939f authored by Yuta Hayama's avatar Yuta Hayama Committed by Richard Purdie
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>
parent cc73360b
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