Re: when trying to run shutdown -p, i get a Bad substituion
Reply #7 –
I think it's just an error in 66. The scripts do have a #!/bin/sh shebang. Running checkbashisms on the shutdown script, it gives me this output.
possible bashism in shutdown_script line 43 (${foo:3[:1]}):
[ ${1:0:1} != '-' ] && die
The second one is definitely bash specific not sure about the first one. Probably worth an upstream bug report at any rate. Maybe there are others.