Skip to content

Commit 3eff5ce

Browse files
committed
Warn instead of error when running CKAN as root
1 parent 9f3fb56 commit 3eff5ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

KSPCommon.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
<Target Name="KSPBT_InstallCKANDependencies" DependsOnTargets="KSPBT_GenerateCKANScript" BeforeTargets="_GenerateRestoreProjectSpec;Restore;ResolveAssemblyReferences"
174174
Inputs="$(_CKANScript)" Outputs="$(KSPBT_GameRoot)/CKAN/registry.json"
175175
Condition=" '$(KSPBT_InstallCKANDependencies)' == 'true' ">
176-
<Exec Command="ckan prompt --headless &lt; '$(_CKANScript)'" Condition=" '$(_CKANDependencyList)' != '' "/>
176+
<Exec Command="ckan prompt --headless --asroot &lt; '$(_CKANScript)'" Condition=" '$(_CKANDependencyList)' != '' "/>
177177
</Target>
178178

179179
<Target Name="KSPBT_CleanCKANScript" AfterTargets="Clean">

0 commit comments

Comments
 (0)