[Bug 496879] Re: add-apt-repository should return exit code and not adding wrong repositories

Launchpad Bug Tracker 496879 at bugs.launchpad.net
Sat Feb 11 05:11:17 UTC 2012


** Branch linked: lp:~evfool/software-properties/miscfixes2

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/496879

Title:
  add-apt-repository should return exit code and not adding wrong
  repositories

Status in “software-properties” package in Ubuntu:
  In Progress

Bug description:
  (Ubuntu 9.10)
  Running:

  sudo add-apt-repository ppa:xxxxx
  echo $?

  In most cases zero error is shown, also when repository doesn't exist
  or there isn't network connection.

  Additionally, on both error cases, the repository is added anyway.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/496879/+subscriptions




More information about the foundations-bugs mailing list