Hello I try to run a script to see a folder exist or not but prtg return : incorrect response format. My script :
#!/bin/bash if [ -d /root/autofs_daemon/ ]; then echo "1:OK" else echo "0:BAD" fi
Votes:
Hello I try to run a script to see a folder exist or not but prtg return : incorrect response format. My script :
#!/bin/bash if [ -d /root/autofs_daemon/ ]; then echo "1:OK" else echo "0:BAD" fi
1 Reply
Add comment