summaryrefslogtreecommitdiff
path: root/sbin/itzks-update-disklserver-squashfs-images
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/itzks-update-disklserver-squashfs-images')
-rwxr-xr-xsbin/itzks-update-disklserver-squashfs-images2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/itzks-update-disklserver-squashfs-images b/sbin/itzks-update-disklserver-squashfs-images
index c577fcf..966484b 100755
--- a/sbin/itzks-update-disklserver-squashfs-images
+++ b/sbin/itzks-update-disklserver-squashfs-images
@@ -38,7 +38,7 @@ chmod 1777 ${TMPDIR}
if [ -e "/etc/ltsp/ltsp.conf.itzks-systems-disklserver.in" ] && cat "/etc/ltsp/ltsp.conf.itzks-systems-disklserver.in" | grep -v "#" | grep -q "@rootpw@"; then
# Drop previous ltsp.conf (yes, we want to do that!)
- rm /etc/ltsp/ltsp.conf
+ rm -f /etc/ltsp/ltsp.conf
touch /etc/ltsp/ltsp.conf
chown root:root /etc/ltsp/ltsp.conf
chmod 0600 /etc/ltsp/ltsp.conf