about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Debian/Command/_aptitude6
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index aa0dbf298..f0db9b97a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2004-03-01  Oliver Kiddle  <opk@zsh.org>
 
+	* unposted: Completion/Debian/Command/_aptitude: correct return status
+
 	* 19507: Completion/Unix/Command/_attr,
 	Completion/Unix/Command/_less, Completion/Unix/Command/_rcs,
 	Completion/Unix/Command/_wiggle: new completions for less,
diff --git a/Completion/Debian/Command/_aptitude b/Completion/Debian/Command/_aptitude
index 1b539a66d..bbd759c06 100644
--- a/Completion/Debian/Command/_aptitude
+++ b/Completion/Debian/Command/_aptitude
@@ -32,13 +32,13 @@ case $state in
         _message -e patterns pattern
       ;;
       download)
-        _deb_packages avail
+        _deb_packages avail && ret=0
       ;;
       remove|purge|hold)
-        _deb_packages installed
+        _deb_packages installed && ret=0
       ;;
       install|markauto|unmarkauto)
-        _deb_packages uninstalled
+        _deb_packages uninstalled && ret=0
       ;;
       *)
         (( ret )) && _message 'no more arguments'