Browse Source

Use sudo for /var/log owned by root

pull/88/head
Mihai Galos 5 years ago
parent
commit
ee14d8a323
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      install.sh

+ 2
- 2
install.sh View File

@@ -1,5 +1,5 @@
#!/usr/bin/env sh
set -x
. ./log2ram.conf

isLogFolderSizeEnough () {
@@ -25,7 +25,7 @@ assertSufficientSpace () {
while true; do
read -p "$RAM_LOG is too big to continue. Would you like to delete it? [Y/n]: " yn
case $yn in
[Yy]* ) rm -rf $RAM_LOG; break;;
[Yy]* ) sudo rm -rf $RAM_LOG; break;;
[Nn]* ) exit 1;;
* ) echo "Please answer yes or no.";;
esac


Loading…
Cancel
Save