Unquoted rm parameters
This commit is contained in:
parent
21fac7e7a0
commit
28aa6a7842
1 changed files with 1 additions and 1 deletions
2
bb.sh
2
bb.sh
|
@ -590,7 +590,7 @@ reset() {
|
|||
echo "Are you sure you want to delete all blog entries? Please write \"Yes, I am!\" "
|
||||
read line
|
||||
if [ "$line" == "Yes, I am!" ]; then
|
||||
rm "*.html" "*.css" "*.rss"
|
||||
rm *.html *.css *.rss
|
||||
echo "Deleted all posts, stylesheets and feeds."
|
||||
else
|
||||
echo "Phew! You dodged a bullet there. Nothing was modified."
|
||||
|
|
Loading…
Add table
Reference in a new issue