chiark / gitweb /
cryptop.list: List other users' keys correctly.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 5 Aug 2013 21:00:12 +0000 (22:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 5 Aug 2013 21:00:12 +0000 (22:00 +0100)
cryptop.list

index 96f9a65..abb51af 100755 (executable)
@@ -85,7 +85,7 @@ col_label () {
   label=$1
 
   case $all,$label in
-    nil,$USERV_USER/*) plabel=${label#*/} ;;
+    nil,"$user"/*) plabel=${label#*/} ;;
     t,*) plabel=${label%%/*}:${label#*/} ;;
   esac
   echo "$plabel"