mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
test: use the correct file name when restoring the original fstab
This commit is contained in:
@@ -52,7 +52,7 @@ systemctl daemon-reload
|
||||
[[ "$(systemctl show -P UnitFileState foo-fstab-opt.mount)" == bad ]]
|
||||
rm -f /etc/fstab
|
||||
|
||||
[[ -e /tmp/fstab.bak ]] && mv -f /tmp/fstab /etc/fstab
|
||||
[[ -e /tmp/fstab.bak ]] && mv -f /tmp/fstab.bak /etc/fstab
|
||||
systemctl daemon-reload
|
||||
|
||||
# c) Mount unit
|
||||
|
||||
Reference in New Issue
Block a user