Commit 9b59398d authored by Jens Korinth's avatar Jens Korinth

Fix bug in VC709 driver reloading

parent ed7906b9
......@@ -82,8 +82,8 @@ if [ -n $BITSTREAM ] && [[ $BITSTREAM == *.bit ]]
then
echo "bitstream = $BITSTREAM"
# unload driver, if second arg is "drv_reload"
if [ -n "$2" ] && [[ "$2" == drv_reload ]]; then
# unload driver, if reload_driver was set
if [ $RELOADD -gt 0 ]; then
sudo rmmod $DRIVER
fi
......
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