summaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install')
-rwxr-xr-xscripts/install/install-get-partition5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition
index 9eebc307..3e35f4b1 100755
--- a/scripts/install/install-get-partition
+++ b/scripts/install/install-get-partition
@@ -457,9 +457,8 @@ save_old_keys() {
fi
# reset modes on keys (should already be set)
- chmod 600 /mnt/ssh/*_key
- chmod 644 /mnt/ssh/*.pub
- chown root /mnt/ssh/*
+ chmod 600 /mnt/ssh/*_key 2>&1
+ chmod 644 /mnt/ssh/*.pub 2>&1
fi
}