Skip to content

Commit 0363e0e

Browse files
authored
Update pan
1 parent 76d7848 commit 0363e0e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pan

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env sh
1+
#!/usr/bin/env bash
22

33
####################################################
44
# Cloudreve Service Management Script #
@@ -37,6 +37,7 @@ getPrompt(){
3737
"exit")
3838
echo "[error] Exit by action of user."
3939
return ${PAN_exitPrompt}
40+
exit
4041
;;
4142
"start")
4243
echo "[info] Starting Cloudreve Service..."
@@ -119,4 +120,4 @@ until (( $? == ${PAN_exitPrompt} ))
119120
do
120121
getPrompt
121122
processor $?
122-
done
123+
done

0 commit comments

Comments
 (0)