Skip to content

Commit 261d2cf

Browse files
added no agument condition
added no agument condition and fixed a issue
1 parent 03537d1 commit 261d2cf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

etc/scripts/hippo/hippo.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ if [ $# -ge 1 ]; then
152152
--help) __help;;
153153
startvnc)
154154
if __check_for_hippo; then
155-
proot-distro launch hippo -- startvnc
155+
proot-distro login hippo -- startvnc
156156
else
157157
echo -e "This command is supposed to run after installing hippo"
158158
# echo -e "Use \e[1;32mhippo --install\e[0m install"
@@ -161,7 +161,7 @@ if [ $# -ge 1 ]; then
161161
;;
162162
stoptvnc)
163163
if __check_for_hippo; then
164-
proot-distro launch hippo -- stoptvnc
164+
proot-distro login hippo -- stoptvnc
165165
else
166166
echo -e "This command is supposed to run after installing hippo"
167167
# echo -e "Use \e[1;32mhippo --install\e[0m install"
@@ -170,4 +170,6 @@ if [ $# -ge 1 ]; then
170170
;;
171171
*) _lauch_or_install;;
172172
esac
173+
else
174+
_lauch_or_install
173175
fi

0 commit comments

Comments
 (0)