./discourse-doctor: line 320: [: ==: unary operator expected

Hi There!

If an imput is needed, but a ‘Y’ is presented that means by default the y is the answer, so entering no letter should work

319     read -p "Would you like to serve a publicly available version of this file? (Y/n)" serve
320     if [ $serve == 'Y' ]
1 Like