fix no-topic edit bug

This commit is contained in:
Dylan Göpel 2019-07-12 19:27:14 +02:00
parent 6b8139927e
commit df43e926ab

6
memo
View file

@ -106,6 +106,12 @@ function remove_topic (){
function edit_topic () {
topic_name=$1
if [[ -z $topic_name ]]
then
echo "you have to specify a topic"
exit 1
fi
precondition:provide_topic ${topic_name}
topic_path=${MEMO_FOLDER}/${topic_name}