Skip to content

Commit

Permalink
Fixed bug in run.sh creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtesta committed Sep 10, 2019
1 parent 0ac539d commit 1c9d5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function setup_environment {
cat > ~ssh-mitm/run.sh <<EOF
#!/bin/bash
/home/ssh-mitm/bin/sshd_mitm -f /home/ssh-mitm/etc/sshd_config
if [[ $? == 0 ]]; then
if [[ \$? == 0 ]]; then
echo "sshd_mitm is now running."
exit 0
else
Expand Down

0 comments on commit 1c9d5b6

Please sign in to comment.