summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2014-04-30 12:22:19 (GMT)
committer Jaromil <jaromil@dyne.org>2014-04-30 12:22:30 (GMT)
commitcd9cdfbb41679c16dffc97c83fdc17c7e0a79842 (patch)
tree199db88a7e0228c5ccf382cff1e6fed8ec81f2b4
parenta7455c5fe894e9a026cdd00c4f3bf1d515ebc645 (diff)
fixes issue #3
-rwxr-xr-xbin/gitzone-shell2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gitzone-shell b/bin/gitzone-shell
index 20243f1..9b8b505 100755
--- a/bin/gitzone-shell
+++ b/bin/gitzone-shell
@@ -49,7 +49,7 @@ elif [[ "$cmd" == update-record* ]]; then
cd $repo_dir/$repo/.git
$gitzone $config update-record "$cmd"
elif [ -f $allow_key_mgmt_file ]; then
- if [ "$cmd" == list-keys ]; then
+ if [[ "$cmd" == list-keys ]]; then
cat .ssh/authorized_keys
elif [[ "$cmd" == add-key* ]]; then
key="${cmd:8}"