Browse Source

install: Fixing code typo

The last bracket shall not be glued to the directory.

The actual code is generating a runtime error like the following :
 erwan@raspberrypi:~/download/log2ram $ sudo ./install.sh
 Created symlink /etc/systemd/system/sysinit.target.wants/log2ram.service → /etc/systemd/system/log2ram.service.
 ./install.sh: 19: [: missing ]
 ##### Reboot to activate log2ram #####

This patch simply adds the missing space to make this script work.
pull/41/head
Erwan Velu 7 years ago
parent
commit
737ffd1c19
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      install.sh

+ 1
- 1
install.sh View File

@@ -16,7 +16,7 @@ then
chmod +x /etc/cron.hourly/log2ram

# Remove a previous log2ram version
if [ -d /var/log.hdd]; then
if [ -d /var/log.hdd ]; then
rm -r /var/log.hdd
fi



Loading…
Cancel
Save