Skip to content

Commit 24a71a7

Browse files
authored
fix kill_session_prompt.sh
1 parent 091a95e commit 24a71a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/kill_session_prompt.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ main() {
1010
tmux confirm -p "kill-session ${CURRENT_SESSION_NAME}? (y/n)" "run '$CURRENT_DIR/kill_session.sh \'$CURRENT_SESSION_ID''"
1111

1212
if [ $? -ne 0 ]; then
13-
# do nothing
14-
return
13+
return # do nothing
1514
fi
1615
}
1716
main

0 commit comments

Comments
 (0)