Export to GitHub

fbterm - issue #73

Exit value should be non-zero if there is an error


Posted on Nov 17, 2014 by Massive Cat

If fbterm can't be started correctly, it should return a value indicating error. This value can be used by bash scripts.

What steps will reproduce the problem? 1.run fbterm in a non-interactive tty, fbterm prints a message "stdin isn't a interactive tty!" 2.run echo $? to get the return value. It is 0.

What is the expected output? It's expected to be non-zero.

Comment #1

Posted on Aug 9, 2015 by Massive Lion

It seems fbterm is no longer actively maintained, but it will be very useful a command switch to test if fbterm will be correctly started, so as to be able to do exec fbterm if there will be no error.

See https://github.com/robbyrussell/oh-my-zsh/pull/1598#issuecomment-125107789

Status: New

Labels:
Type-Defect Priority-Medium