Skip to content

Commit

Permalink
hook install to run array
Browse files Browse the repository at this point in the history
  • Loading branch information
cynixx3 authored May 7, 2020
1 parent 99611cb commit 3f69cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner-manager
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ f.INSTALL(){
sed "/#Installed/d" -i /home/ethos/remote.conf
fi

if [ "$HOOK_INSTALL" ] ; then $HOOK_INSTALL ; fi
if [ "$HOOK_INSTALL" ] ; then ${HOOK_INSTALL[@]} ; fi

echo "Restarting services and miner"
sudo service ethos-miner-daemon restart
Expand Down

0 comments on commit 3f69cc5

Please sign in to comment.