On Wed, May 18, 2016 at 02:00:51PM +0200, Cédric Bosdonnat wrote: > @@ -244,15 +244,14 @@ if not exist \"%%scripts_done%%\" ( > > for %%%%f in (\"%%scripts%%\"\\*.bat) do ( > echo running \"%%%%f\" > - call \"%%%%f\" > - set elvl=!errorlevel! > - echo .... exit code !elvl! > - if !elvl! equ 0 ( > - move \"%%%%f\" \"%%scripts_done%%\" > - ) > + move \"%%%%f\" \"%%scripts_done%%\" > + pushd \"%%scripts_done%%\" > + call \"%%%%~nf\" > + popd
I think reporting the exit code was rather useful and didn't clutter the log that much, so I'd rather keep it. > ) > > echo uninstalling firstboot service > +rmdir /S /Q \"%%scripts_done%%\" Please drop this, it makes debugging harder for no reason. Roman. _______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
