On 11/21/19 2:30 PM, Todd Zullinger wrote: > Those aren't actual code snippets you used, are they? This > code: > > if ! [[ "pgrep ksysguard" ]] ; then > > is testing whether the string is empty or not rather than > running the command and checking for output. You can see > that by running:
Maybe the OP meant to type if ! [[ `pgrep ksysguard` ]] ?? :-) -- The key to getting good answers is to ask good questions. _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
