Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
cprn40310dIf you didn't facepalm at this point - the script does this before anything else:
> pkill -f projectName
...so it's okay to call it like this:
...but it's not okay to call it like this:
jespersh710910dChange it to
kill -9 -1
theKarlisK609310dChange it so that it throws a tantrum when it's not executed correctly.
bahua1090110dRun a conditional on the exact syntax of $0, and whine/exit if it's not correct.
Seems like a shitty script
If my script was so bad it was killing itself i wouldn't blame the user. Own up to your own mistakes.
But it's a funny scripting mistake to make i will give you that
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job