fixed screen command
This commit is contained in:
		| @@ -6,7 +6,7 @@ QORTAL_DIR=~/qortal | ||||
| # Check if screen is installed | ||||
| if command -v screen &> /dev/null; then | ||||
|   echo "Screen is installed, running script in a screen session..." | ||||
|   screen -S qortal_restart -dm bash -c "$0" | ||||
|   screen -S qortal_restart -dm bash -c "$(realpath $0)" | ||||
|   exit 0 | ||||
| else | ||||
|   echo "Screen is not installed, running script normally..." | ||||
|   | ||||
		Reference in New Issue
	
	Block a user