#1670 Issue closed: recover-workflow.sh (over)-writes /etc/motd unconditioned

Labels: bug, fixed / solved / done

jsmeix opened issue at 2018-01-02 14:56:

My
https://github.com/rear/rear/commit/46fb3a39b1462677ecbe08f033a08908d8db02c3
(cf. https://github.com/rear/rear/issues/1433)
makes lib/recover-workflow.sh (over)-write /etc/motd unconditioned
even on the original system in simulation mode:

# wc /etc/motd
0 0 0 /etc/motd

# usr/sbin/rear -s recover
...
Simulation mode activated ...

# cat /etc/motd

Welcome to Relax-and-Recover.


[Export of Github issue for rear/rear.]