]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
bash-nvme-completion.sh: fixed error when sourced twice
authorEvgeny Grin <k2k@narod.ru>
Fri, 17 Jun 2022 12:00:39 +0000 (15:00 +0300)
committerEvgeny Grin <k2k@narod.ru>
Fri, 17 Jun 2022 12:05:20 +0000 (15:05 +0300)
commiteac9f9b70081ff2df2e2ea11efb8fc6ec3754f64
tree9dff3a63cf1d99b88fcf7cb3b2613483cf17164f
parent563d3a9fb2442d2f522e8f15c54134ef1af8face
bash-nvme-completion.sh: fixed error when sourced twice

One-line "readonly" with assignment produce error if completion file
is sourced for the second time (/etc/profile reload, su etc.)
completions/bash-nvme-completion.sh