mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 01:41:52 -05:00

From mercurial-2.1, "hg pull" returns 1 when there are no updates. Catch the return code and either pull the update or return an error as appropriate. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>