mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-15 12:08:26 +00:00
Change to the home directory
This should prevent errors when running from an inaccessible directory
This commit is contained in:
parent
c8f6cee90b
commit
e05ec78ac8
@ -126,6 +126,8 @@ if [ -f "${HOME}/.arkmanager.cfg" ]; then
|
||||
source "${HOME}/.arkmanager.cfg"
|
||||
fi
|
||||
|
||||
cd "$HOME"
|
||||
|
||||
lsof=lsof
|
||||
if [ -x /usr/sbin/lsof ]; then
|
||||
lsof=/usr/sbin/lsof
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user