$ /bin/check-foreground-console && echo "yes" yes If it works as I would imagine, which is to say it returns true when it should be true, it's working for me :P Try this test and see what happens, if you get no output then it returned false.
-- [Hardy] Network can not be configured through the NetworkManager https://bugs.launchpad.net/bugs/178703 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs