URI: 
       tGive info about used swaps on swap warning and error - tomb - the crypto undertaker
  HTML git clone git://parazyd.org/tomb.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit fb5d1d2cf9b7989327d004bd924bc2845be309df
   DIR parent f9f8b16a4d23f8b052ff9afa9ee2e2b0c01f7ba4
  HTML Author: boyska <piuttosto@logorroici.org>
       Date:   Sun, 30 Oct 2011 20:35:32 +0100
       
       Give info about used swaps on swap warning and error
       
       Diffstat:
         M src/tomb                            |       4 ++++
       
       1 file changed, 4 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/src/tomb b/src/tomb
       t@@ -293,6 +293,8 @@ create_tomb() {
                error "You have swap activated; use --ignore-swap if you want to skip this check"
                act "Using encryption with swap activated is very bad, because some files, or even your secret key, could be written on hard disk."
                act "However, it could be that your swap is encrypted. If this is case, this is ok. Then, use --ignore-swap to skip this check"
       +        act "You seem to be using `tail -n +2 /proc/swaps|wc -l` swaps:"
       +        tail -n +2 /proc/swaps
                exit 1
            fi
            if ! [ ${CMD2} ]; then
       t@@ -473,6 +475,8 @@ mount_tomb() {
                error "You have swap activated; use --ignore-swap if you want to skip this check"
                act "Using encryption with swap activated is very bad, because some files, or even your secret key, could be written on hard disk."
                act "However, it could be that your swap is encrypted. If this is case, this is ok. Then, use --ignore-swap to skip this check"
       +        act "You seem to be using `tail -n +2 /proc/swaps|wc -l` swaps:"
       +        tail -n +2 /proc/swaps
                exit 1
            fi
            if ! [ ${CMD2} ]; then