We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53432ae commit ef2ed51Copy full SHA for ef2ed51
ugrd/base/base.py
@@ -1,5 +1,5 @@
1
__author__ = 'desultory'
2
-__version__ = '2.0.0'
+__version__ = '2.0.1'
3
4
from importlib.metadata import version
5
@@ -11,7 +11,7 @@ def do_switch_root(self) -> str:
11
"""
12
mount_dest = self.config_dict['mounts']['root']['destination'] if not self.config_dict.get('switch_root_target') else self.config_dict['switch_root_target']
13
out = [f"echo 'Checking root mount: {mount_dest}'",
14
- "if grep -q ' {mount_dest} ' /proc/mounts ; then",
+ f"if grep -q ' {mount_dest} ' /proc/mounts ; then",
15
f' echo "Completed UGRD v{version("ugrd")}."',
16
f" exec switch_root {mount_dest} /sbin/init",
17
"else",
0 commit comments