Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xu Wang
git-crypt-unlock-all
Commits
5b6111e7
Commit
5b6111e7
authored
Apr 18, 2016
by
Xueshan Feng
Browse files
tidy up the code a bit.
parent
766ad1f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
git-crypt-unlock-all.sh
View file @
5b6111e7
...
...
@@ -34,12 +34,12 @@ function verify_gpg_passphrase() {
}
# MAIN
if
[
-z
$1
]
;
keyfile
=
${
1
:-
''
}
if
[
-z
$keyfile
]
;
then
verify_gpg_passphrase
[
$foundkey
-ne
0
]
&&
abort
"Unable to decrypt."
else
keyfile
=
"
$1
"
[
!
-f
$keyfile
]
&&
abort
"unable to read
$keyfile
."
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment