瀏覽代碼

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 年之前
父節點
當前提交
737ffd1c19
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      install.sh

+ 1
- 1
install.sh 查看文件

@@ -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…
取消
儲存