On Sun, Sep 04, 2016 at 10:34:20PM +0200, François Patte wrote: > Le 03/09/2016 22:59, François Patte a écrit : > > > > On other nstall of fedora 23 this works.... Why not on this computer? > > Just unwanted spaces before and after #!/bin/bash > > The script works when executed for itself, but it seems that systemd is > quite supercilious about that spaces and very avaricious to give some > hints about the error encountered! > > Thank you for helping. The '#!' notation has meaning ONLY if it is the first two characters of the file. Otherwise it is just a shell comment. >From the command line you are probably running bash. Thus the script gets executed by the shell you want. But during boot it may be executed by a different shell and that shell may not deal with some constructs the same as bash. Jon -- Jon H. LaBadie jonfu@xxxxxxxxxx -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org