linuxmint/mintsources — pull request #38 by WolverineFan (2014-09-14 05:29:50+00:00)
Title: Enable add-apt-repository to work in automation scripts

The old version of the code silently exits when no tty is attached.
It also fails to pass the final exit status back to the caller.