Run as root & :Vterm
This commit is contained in:
parent
6bf25e1f03
commit
611085bfe6
|
@ -9,3 +9,6 @@
|
||||||
:set expandtab
|
:set expandtab
|
||||||
:set tabstop=8
|
:set tabstop=8
|
||||||
:set softtabstop=0
|
:set softtabstop=0
|
||||||
|
:set splitright
|
||||||
|
|
||||||
|
:command Vterm vertical terminal
|
|
@ -3,6 +3,11 @@
|
||||||
src_dir="../root"
|
src_dir="../root"
|
||||||
dst_dir="/"
|
dst_dir="/"
|
||||||
|
|
||||||
|
if [ "$EUID" -ne 0 ]; then
|
||||||
|
echo "Please run as root"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
amount=0
|
amount=0
|
||||||
|
|
||||||
function create_hard_links() {
|
function create_hard_links() {
|
||||||
|
|
Loading…
Reference in New Issue