Run as root & :Vterm

This commit is contained in:
Brieuc Dubois 2024-01-27 00:39:01 +01:00
parent 6bf25e1f03
commit 611085bfe6
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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() {