Quote variables correctly
god dammit
This commit is contained in:
parent
810fccfce2
commit
54f19e0619
@ -42,7 +42,7 @@ fi
|
||||
# WE MAKE BACKUP NOW SERGEI
|
||||
if cd "$OUTDIR"; then
|
||||
log "Initiating terraria dump"
|
||||
su terraria -c cp "$TERRARIADIR/worlds/world.wld" "$OUTDIR/world-$(date -Iseconds).wld"
|
||||
su terraria -c "cp \"$TERRARIADIR/worlds/world.wld\" \"$OUTDIR/world-$(date -Iseconds).wld\""
|
||||
else
|
||||
log "Could not change directory: $OUTDIR"
|
||||
return 3
|
||||
|
Loading…
Reference in New Issue
Block a user