Fix logging bug in run-hooks (order of logging statement)

- The "done running loop" log message was inside the loop, causing it
  to appear over and over again, making log quite confusing.
This commit is contained in:
Richard Darst
2019-01-01 23:37:23 +02:00
parent 17aba6048f
commit 6e104c95b1

View File

@@ -32,8 +32,8 @@ run-hooks () {
fi
;;
esac
echo "$0: done running hooks in $1"
done
echo "$0: done running hooks in $1"
}
run-hooks /usr/local/bin/start-notebook.d