Commit b2f33e99 authored by Klaatu von Schlacker's avatar Klaatu von Schlacker
Browse files

silenced an error when .trash already exists

parent 3cb8df10
......@@ -3,7 +3,7 @@ ARG="$@"
CHECK=$(ls -a ~ | grep -i .trash)
if [ ! -d "~/.trash" ]
then mkdir -m 700 ~/.trash
then mkdir -m 700 ~/.trash 2> /dev/null
fi
if [ "X$ARG" == "X.trash" ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment