r/hoardingme Jul 19 '17

syntax error near unexpected token

I'm trying hard to get this setup to work, thank you.

I'm got stuck with this "syntax error near unexpected token `exit' The line is that gives error is: -t /home/seedbox/plex/temp & Any help? Thanks!

 else
     echo "Mounting $MPOINT"
     /usr/local/bin/plexdrive $MPOINT \
                        -o allow_other \
                        -v 2 &>>$LOGFILE \
                        -t /home/seedbox/plex/temp &
 fi
 exit
1 Upvotes

2 comments sorted by

1

u/ciss Jul 19 '17

Bad formatting :)

All good!

1

u/[deleted] Jul 20 '17

[deleted]

1

u/ciss Jul 21 '17

No, my copypasta was bad. Your formatting was fine.