Skip to content

Commit ef2ed51

Browse files
committed
fixed missing fstring indicator
Signed-off-by: Zen <[email protected]>
1 parent 53432ae commit ef2ed51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ugrd/base/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = 'desultory'
2-
__version__ = '2.0.0'
2+
__version__ = '2.0.1'
33

44
from importlib.metadata import version
55

@@ -11,7 +11,7 @@ def do_switch_root(self) -> str:
1111
"""
1212
mount_dest = self.config_dict['mounts']['root']['destination'] if not self.config_dict.get('switch_root_target') else self.config_dict['switch_root_target']
1313
out = [f"echo 'Checking root mount: {mount_dest}'",
14-
"if grep -q ' {mount_dest} ' /proc/mounts ; then",
14+
f"if grep -q ' {mount_dest} ' /proc/mounts ; then",
1515
f' echo "Completed UGRD v{version("ugrd")}."',
1616
f" exec switch_root {mount_dest} /sbin/init",
1717
"else",

0 commit comments

Comments
 (0)