diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-03-13 19:04:04 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-03-13 19:04:04 +0000 |
commit | acddf011115d7537bd4d7cae91977c0c897ac047 (patch) | |
tree | 8d4a958b7476af1c68e1da4a875fa0673d022196 /yarns/obnam.sh | |
parent | 24ab8f5d695a160b8e84f126c3595f71820e5abe (diff) | |
download | obnam-acddf011115d7537bd4d7cae91977c0c897ac047.tar.gz |
Improve error message when secret key missing
The actual gpg error message is now shown, instead of hidden
behind a "unknown tag found" message.
Diffstat (limited to 'yarns/obnam.sh')
-rw-r--r-- | yarns/obnam.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/yarns/obnam.sh b/yarns/obnam.sh index 6062ef9a..50080d2b 100644 --- a/yarns/obnam.sh +++ b/yarns/obnam.sh @@ -156,3 +156,8 @@ manifest() normalise_manifest_times | remove_nlink_for_directories } + + +# Create a dummy $HOME that actually exists. +export HOME="$DATADIR/home" +mkdir -p "$HOME" |