Skip to content

Commit 421e8dd

Browse files
committed
Add exit status for git updater when not installed via git clone
1 parent 57b85c0 commit 421e8dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shelldio.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ git_updater() {
527527
cd "$RETURN_TO_PWD" || exit 0
528528
else
529529
echo "To Shelldio δεν έχει εγκατασταθεί μέσω git clone οπότε δεν είναι διαθέσιμη η ενημέρωση μέσω shelldio -u"
530+
exit 1
530531
fi
531532
}
532533

0 commit comments

Comments
 (0)