mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
use rm -f instead of rm
Suppresses an error message, if the file does not exist.
This commit is contained in:
parent
b45e8e95a6
commit
585432f0fa
2
log2ram
2
log2ram
@ -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…
Reference in New Issue
Block a user