summaryrefslogtreecommitdiff
path: root/bin/menuscripts
diff options
context:
space:
mode:
Diffstat (limited to 'bin/menuscripts')
-rwxr-xr-xbin/menuscripts/keyadd7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/menuscripts/keyadd b/bin/menuscripts/keyadd
index 5a38bfb..fb7e66e 100755
--- a/bin/menuscripts/keyadd
+++ b/bin/menuscripts/keyadd
@@ -2,8 +2,11 @@
log()
{
- herbe "keyadd" "$1" &
- >&2 printf '%s\n' "$1"
+ if [ "${Logging:-1}" -eq 1 ]
+ then
+ herbe "keyadd" "$1" &
+ >&2 printf '%s\n' "$1"
+ fi
}
SSHFOLDER="$HOME/.ssh"