Преглед изворни кода
use rm -f instead of rm
Suppresses an error message, if the file does not exist.
pull/34/head
Sailing74
пре 7 година
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са
1 додато и
1 уклоњено
-
log2ram
|
|
@@ -52,7 +52,7 @@ wait_for () { |
|
|
|
case "$1" in |
|
|
|
start) |
|
|
|
[ -d $HDD_LOG/ ] || mkdir $HDD_LOG/ |
|
|
|
rm $LOG2RAM_LOG |
|
|
|
rm -f $LOG2RAM_LOG |
|
|
|
mount --bind $RAM_LOG/ $HDD_LOG/ |
|
|
|
mount --make-private $HDD_LOG/ |
|
|
|
wait_for $HDD_LOG |
|
|
|