Error code on swap

This commit is contained in:
Thomas Forgione 2019-06-07 15:50:48 +02:00
parent 9e47c0cd55
commit d64d64082b
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 1 additions and 0 deletions

View File

@ -18,4 +18,5 @@ elif [ -d $1 ] && [ -d $2 ]; then
mv "$tmp/$1" "$2"
else
echo -e "\033[1;31merror:\033[0m expected two files or two directories"
exit 1
fi