'keychain --list' prints error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keychain (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
keychain has an extra '=' which breaks the --list option:
$ keychain --list
/usr/bin/keychain: 1537: [: end: unexpected operator
end
$ diff -u /usr/bin/
--- /usr/bin/
+++ /usr/bin/keychain 2015-10-21 16:51:00.422017437 -0500
@@ -1534,7 +1534,7 @@
sshavail=`ssh_l` # update sshavail now that we're locked
if [ "$myaction" = "list" ]; then
for key in $sshavail end; do
- [ "$key" == "end" ] && continue
+ [ "$key" = "end" ] && continue
echo "$key"
done
else
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: keychain 2.8.1-0.1 [modified: usr/bin/keychain]
ProcVersionSign
Uname: Linux 4.2.3+ x86_64
ApportVersion: 2.19.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Oct 21 16:52:11 2015
InstallationDate: Installed on 2013-12-27 (663 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
PackageArchitec
SourcePackage: keychain
UpgradeStatus: Upgraded to wily on 2015-10-20 (1 days ago)
Changed in keychain (Ubuntu): | |
importance: | Undecided → Medium |
Here is a simple fix for the command.