aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/snippets/keep_cfengine_keys
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/cobbler/snippets/keep_cfengine_keys')
-rw-r--r--deploy/adapters/cobbler/snippets/keep_cfengine_keys10
1 files changed, 5 insertions, 5 deletions
diff --git a/deploy/adapters/cobbler/snippets/keep_cfengine_keys b/deploy/adapters/cobbler/snippets/keep_cfengine_keys
index 06854adc..d2c5622f 100644
--- a/deploy/adapters/cobbler/snippets/keep_cfengine_keys
+++ b/deploy/adapters/cobbler/snippets/keep_cfengine_keys
@@ -32,13 +32,13 @@ function findkeys
# Copy current host keys out to be reused
if [ -d /tmp/$tmpdir$SEARCHDIR ] && cp -a /tmp/$tmpdir$SEARCHDIR/${PATTERN}* /tmp/$TEMPDIR; then
keys_found="yes"
- umount /tmp/$tmpdir
- rm -r /tmp/$tmpdir
- break
+ umount /tmp/$tmpdir
+ rm -r /tmp/$tmpdir
+ break
elif [ -n "$SHORTDIR" ] && [ -d /tmp/$tmpdir$SHORTDIR ] && cp -a /tmp/$tmpdir$SHORTDIR/${PATTERN}* /tmp/$TEMPDIR; then
- keys_found="yes"
+ keys_found="yes"
umount /tmp/$tmpdir
- rm -r /tmp/$tmpdir
+ rm -r /tmp/$tmpdir
break
fi
umount /tmp/$tmpdir