We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28e5673 commit e992826Copy full SHA for e992826
pkg/reversesshfs/reversesshfs.go
@@ -113,15 +113,15 @@ i=0
113
while : ; do
114
# FIXME: not really robust
115
if mount | grep "on ${dir}" | egrep -qw "fuse.sshfs|osxfuse"; then
116
- echo '{"return":{}}'
+ echo '{"return":{}}'
117
exit 0
118
fi
119
- sleep 1
120
- if [ $i -ge ${max_trial} ]; then
121
- echo >&2 "sshfs does not seem to be mounted on ${dir}"
122
- exit 1
123
- fi
124
- i=$((i + 1))
+ sleep 1
+ if [ $i -ge ${max_trial} ]; then
+ echo >&2 "sshfs does not seem to be mounted on ${dir}"
+ exit 1
+ fi
+ i=$((i + 1))
125
done
126
`
127
t, err := template.New(scriptName).Parse(scriptTemplate)
0 commit comments