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 96f9a653c5397e9c9ab73c9d635219cefb5bbd67..abb51afedb786b3623efb9e6e94e46cbc73165ef 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"