Page MenuHomeFreeBSD

rc.d/zfsbe: Simplify
ClosedPublic

Authored by imp on Apr 4 2023, 6:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 3:33 PM
Unknown Object (File)
Thu, Nov 14, 7:54 AM
Unknown Object (File)
Wed, Nov 13, 11:03 AM
Unknown Object (File)
Tue, Nov 12, 10:44 AM
Unknown Object (File)
Mon, Nov 11, 7:51 PM
Unknown Object (File)
Mon, Nov 11, 10:19 AM
Unknown Object (File)
Mon, Nov 11, 7:14 AM
Unknown Object (File)
Sun, Nov 10, 7:11 PM

Details

Summary

So $(foo) is a shorter version of "foo".

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Apr 4 2023, 6:13 PM
imp created this revision.
jlduran_gmail.com added inline comments.
libexec/rc/rc.d/zfsbe
60

Should we still keep the double quotes? (To to prevent globbing and word splitting as shellsheck would say, although unlikely).

libexec/rc/rc.d/zfsbe
60

Are they needed here? Word expansion doesn't happen here after the substitution, so _bootonce will have whatever is the value of zfs-bootonce, even if there's spaces.

libexec/rc/rc.d/zfsbe
60

Are they needed here?

Unlikely.

This revision was not accepted when it landed; it landed in state Needs Review.May 1 2023, 9:04 PM
Closed by commit rG0c4183f02efc: rc.d/zfsbe: Simplify (authored by imp). · Explain Why
This revision was automatically updated to reflect the committed changes.