Skip to content

Commit ffcc6c1

Browse files
authored
Update ClamAV.sh
1 parent 4563ab2 commit ffcc6c1

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

scripts/ClamAV.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ echo "Choose an option:"
5353
echo "1 - Install ClamAV"
5454
echo "2 - Uninstall ClamAV"
5555
echo "3 - List ClamAV Commands"
56-
read -p "Enter your choice (1, 2, or 3): " choice
56+
echo "0 - Quit"
57+
read -p "Enter your choice: " choice
5758

5859
case $choice in
5960
1)
@@ -65,6 +66,10 @@ case $choice in
6566
3)
6667
list_clamav_commands
6768
;;
69+
0)
70+
echo "Exiting..."
71+
exit 0
72+
;;
6873
*)
6974
echo "Invalid choice. Please run the script again and choose 1, 2, or 3."
7075
;;

0 commit comments

Comments
 (0)