diff options
author | Michael Niewöhner <[email protected]> | 2019-03-17 22:47:15 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-03-29 15:17:23 -0700 |
commit | e03b25a56443c79a53327806fa4cc5a2b6acd70c (patch) | |
tree | e0439109b1d5afa4a79809d0309a490c66d23a38 /cmd/zfs | |
parent | 3b2618927c666aaa7458bfe3a9cdd15d8e537864 (diff) |
Fix systemd-import services
On debian, systemd complains about missing /bin/awk because it
actually is located at /usr/bin/awk. It is not a good idea to
hardcode binary paths because different linux distros use different
paths. According to systemd's man page it is absolutely safe to
miss paths for binaries located at standard locations (/bin,
/sbin, /usr/bin, ...).
Further, replace this more or less complicated awk command by
grep.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Michael Niewöhner <[email protected]>
Issue #8510
Diffstat (limited to 'cmd/zfs')
0 files changed, 0 insertions, 0 deletions