Browse Source

No error when remove log2ram log

use rm -f instead of rm
pull/33/merge
azlux 7 years ago
committed by GitHub
parent
commit
db049c32eb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      log2ram

+ 1
- 1
log2ram View File

@@ -52,7 +52,7 @@ wait_for () {
case "$1" in case "$1" in
start) start)
[ -d $HDD_LOG/ ] || mkdir $HDD_LOG/ [ -d $HDD_LOG/ ] || mkdir $HDD_LOG/
rm $LOG2RAM_LOG
rm -f $LOG2RAM_LOG
mount --bind $RAM_LOG/ $HDD_LOG/ mount --bind $RAM_LOG/ $HDD_LOG/
mount --make-private $HDD_LOG/ mount --make-private $HDD_LOG/
wait_for $HDD_LOG wait_for $HDD_LOG


Loading…
Cancel
Save