Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
units: [email protected]: don't unescape instance name
modprobe treats "-" and "_" interchangeably, thereby avoiding frequent errors because some module names contain dashes and others underscores. Because [email protected] unescapes the instance name, an attempt to start "[email protected]" will run "modprobe -abq dm/crypt", which is doomed to fail. "modprobe@dm_crypt.service" will work as expected. Thus unescaping the instance name has surprising side effects. Use "%i" instead.
- Loading branch information