diff options
| author | Jakob Unterwurzacher | 2023-09-17 16:38:50 +0200 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2023-09-17 16:38:50 +0200 | 
| commit | 4ef110f1f3dd6308d88e951aa89dc426d32ad6f1 (patch) | |
| tree | fda16c9cf16ca9ba89537ca60a20980a87b7c3b4 | |
| parent | 3a65627316cb4d1c360ece87ec9a33e4c330d1aa (diff) | |
fsck: print "Checking filesystem..."
From https://github.com/rfjakob/gocryptfs/issues/779 / @jroovy
> When using `-fsck`, the command line output looks like this:
>
> ```
> $ gocryptfs -fsck ENCRYPTED_DIRECTORY
> Password:
> Decrypting master key
> ```
>
> However, the user might think it's stuck at decrypting the master
> key. Adding extra text showing that fsck is working would be nice,
> something like:
>
> ```
> $ gocryptfs -fsck ENCRYPTED_DIRECTORY
> Password:
> Decrypting master key
> Checking filesystem...
> ```
Fixes https://github.com/rfjakob/gocryptfs/issues/779
| -rw-r--r-- | fsck.go | 1 | 
1 files changed, 1 insertions, 0 deletions
@@ -305,6 +305,7 @@ func fsck(args *argContainer) (exitcode int) {  		}  	}()  	// Recursively check the root dir +	tlog.Info.Println(tlog.ColorGreen + "Checking filesystem..." + tlog.ColorReset)  	ck.dir("")  	// Report results  	wipeKeys()  | 
