mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
943df59ed9
/dev/zfs is 0:0 666 on most systems, so the [ -w /dev/zfs ] check always succeeds, but if zfs isn't in $PATH (e.g. when completing from "/sbin/zfs list" on a regular account) this can lead to error spew like nabijaczleweli@szarotka:~$ /sbin/zfs list bash: zfs: command not found @ bash: zfs: command not found We only do read-only commands, and quite general ones at that, so there's no need to elevate one way or another. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #11828
9 lines
174 B
Makefile
9 lines
174 B
Makefile
include $(top_srcdir)/config/Substfiles.am
|
|
|
|
bashcompletiondir = $(sysconfdir)/bash_completion.d
|
|
|
|
noinst_DATA = zfs
|
|
|
|
EXTRA_DIST += $(noinst_DATA)
|
|
SUBSTFILES += $(noinst_DATA)
|