Confirmed. The exit code is not !=0 when an error occurs and even though you
actually get an error message like
Error reading https://launchpad.net/api/beta/~bxlsjs/+archive/sds: HTTP Error
404: Not Found
is given, the file
/etc/apt/sources.list.d/bxlsjs-sds-lucid.list
is created anyway.
** Changed in: software-properties (Ubuntu)
Status: New => Confirmed
--
add-apt-repository should return exit code and not adding wrong repositories
https://bugs.launchpad.net/bugs/496879
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs