mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-03-11 21:06:18 +03:00
Remove unnecessary sourcing of variables.
The file `/etc/default/zfs` is already sourced by the `/etc/zfs/zfs-functions`, so no need to source it again. Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Rob Norris <robn@despairlabs.com> Signed-off-by: Turbo Fredriksson <turbo@bayour.com> Closes #18000
This commit is contained in:
parent
94975ff79b
commit
4af8e28a59
@ -708,10 +708,6 @@ mountroot()
|
||||
# Run the pre-mount scripts from /scripts/local-top.
|
||||
pre_mountroot
|
||||
|
||||
# ------------
|
||||
# Source the default setup variables.
|
||||
[ -r '/etc/default/zfs' ] && . /etc/default/zfs
|
||||
|
||||
# ------------
|
||||
# Support debug option
|
||||
if grep -qiE '(^|[^\\](\\\\)* )(zfs_debug|zfs\.debug|zfsdebug)=(on|yes|1)( |$)' /proc/cmdline
|
||||
|
||||
Loading…
Reference in New Issue
Block a user