Skip to content

Commit 1c9d5b6

Browse files
committed
Fixed bug in run.sh creation.
1 parent 0ac539d commit 1c9d5b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ function setup_environment {
215215
cat > ~ssh-mitm/run.sh <<EOF
216216
#!/bin/bash
217217
/home/ssh-mitm/bin/sshd_mitm -f /home/ssh-mitm/etc/sshd_config
218-
if [[ $? == 0 ]]; then
218+
if [[ \$? == 0 ]]; then
219219
echo "sshd_mitm is now running."
220220
exit 0
221221
else

0 commit comments

Comments
 (0)