about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2004-03-01 13:44:55 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2004-03-01 13:44:55 +0000
commit10ffd207715c487774b141822b4c4ae086096fc0 (patch)
tree7beb2c0b3dbbbf36cbd2192f040c7397d9f12f43
parent8bf68849c43e026765a54162f9f1671bafb73d91 (diff)
downloadzsh-10ffd207715c487774b141822b4c4ae086096fc0.tar.gz
zsh-10ffd207715c487774b141822b4c4ae086096fc0.tar.xz
zsh-10ffd207715c487774b141822b4c4ae086096fc0.zip
correct return status
-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'