inform_failed
Prints an informational message that something went wrong to stdout.
Meant to conclude a message begun by inform
(3)
-n
.
Conclude a message printed by inform
(3)
-n
:
inform -n "Applying my patch... " if patch -p0 < mypatch > /dev/null 2>&1; then inform_done else inform_failed fi