Your command looks wrong to me. Having both jobs background themselves
but the one wants the return code of the first seems like it wouldn't
work.
Maybe you didn't mean the && as a literal command, and you ran both jobs
independently, and so all & and && should be removed?
(I actually had to go try it myself because I wasn't sure how that would
work, but, on my shell (bash) it gives a syntac error with the & inside
single quotes)
On Fri, 9 Sep 2022, 李斌 wrote:
Hi
There is a problem when load file via 'svnadmin load'.
Command: 'nohup svnadmin load /data/UEProject < /data/UEProject-clear.svn > ./nohup.log
2>&1 &'.
UEProject-clear.svn is a dump file generated by 'nohup svnadmin dump /root/SVN/UEProject >
/data/UEProject.svn &' && 'nohup grep --binary-files=text -v '^* Dumped
revision' ./UEProject.svn > ./UEProject-clear.svn &'.
But when the file be loaded, I get the following error log from nohup.log.
* adding path :
UnrealEngine/4.26.2/Templates/TemplateResources/Standard/VehicleAdv/FeaturePack/manifest.json
... done.
* adding path :
UnrealEngine/4.26.2/Templates/TemplateResources/Standard/VehicleAdv/Media ... done.
* adding path :
UnrealEngine/4.26.2/Templates/TemplateResources/Standard/VehicleAdv/Media/VehicleAdv.png
... done.
* adding path :
UnrealEngine/4.26.2/Templates/TemplateResources/Standard/VehicleAdv/Media/VehicleAdv_Preview.png
... done.
* adding path : UnrealEngine/4.26.2/UE4.sln ... done.
* adding path : UnrealEngine/4.26.2/UE4Games.uprojectdirs
... done.
* adding path : UnrealEngine/4.26.2/cpp.hint ... done.
svnadmin: E140001: Unrecognized record type in stream
svn, version 1.8.10 (r1615264)
can you tell me how to resolve it?
Best regards
Lee