[Libguestfs] [PATCH 1/2] firstboot: use absolute path to rhsrvany

Tomáš Golembiovský
Thu, 21 Nov 2019 11:04:17 -0000

Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
---
 mlcustomize/firstboot.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlcustomize/firstboot.ml b/mlcustomize/firstboot.ml
index a8f4ef7..c3ebfd9 100644
--- a/mlcustomize/firstboot.ml
+++ b/mlcustomize/firstboot.ml
@@ -307,7 +307,7 @@ for %%%%f in (\"%%scripts%%\"\\*.bat) do (
 )

 echo uninstalling firstboot service
-%s -s firstboot uninstall
+\"%%firstboot%%\\%s\" -s firstboot uninstall
 " firstboot_dir_win srvany in

     g#write (firstboot_dir // "firstboot.bat")
--
2.24.0