diff options
author | rsc <devnull@localhost> | 2005-02-14 16:11:58 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-02-14 16:11:58 +0000 |
commit | 8da6bca8074977c0fd1105ca4da2d5fb225b3ec4 (patch) | |
tree | 6c52f23bf56c26ada5efa555cdd25c5cb79a92e9 | |
parent | d76c8130e6ff36f3970ea4e6de5d0003382ca7c5 (diff) | |
download | plan9port-8da6bca8074977c0fd1105ca4da2d5fb225b3ec4.tar.gz plan9port-8da6bca8074977c0fd1105ca4da2d5fb225b3ec4.tar.bz2 plan9port-8da6bca8074977c0fd1105ca4da2d5fb225b3ec4.zip |
do not use /mnt/factotum
-rwxr-xr-x | bin/ipso | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -65,7 +65,7 @@ if(~ $flush no && ~ $edit no && ~ $load no){ if(~ $flush yes && ~ $edit no && ~ $load no){ echo flushing old keys - echo delkey > /mnt/factotum/ctl + echo delkey | 9p write factotum/ctl exit 0 } @@ -146,8 +146,9 @@ for(i in `{editedfiles}){ exit password } echo ''''$i'''' copied to $name - if(~ $i factotum) - read -m < $i > /mnt/factotum/ctl + if(~ $i factotum && ! ~ $load yes){ # do not do it twice + cat $i | 9p write -l factotum/ctl + } case [xXqQ]* exit case [nN]* * |