diff options
author | Jakob Unterwurzacher | 2016-06-04 14:24:48 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-06-04 15:04:57 +0200 |
commit | 2e2ee0a038fea2c010c9895c77e16e6b0116ea09 (patch) | |
tree | 6406578f00c18b7db2a4d0d9deb7c1dbc8f86166 /sendusr1.go | |
parent | 80b027f830ba5d9e5bf2514462208fcea573c388 (diff) |
main: print relative path in the init success message
... but only if the relative path does not start with "..".
Makes the message easier to grasp. Example:
$ gocryptfs -init -scryptn=10 v0.9
[...]
The filesystem has been created successfully.
Before:
You can now mount it using: gocryptfs /home/jakob/src/github.com/rfjakob/gocryptfs/integration_tests/example_filesystems/v0.9 MOUNTPOINT
After:
You can now mount it using: gocryptfs v0.9 MOUNTPOINT
Diffstat (limited to 'sendusr1.go')
0 files changed, 0 insertions, 0 deletions