aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl/sledjchisl.c
diff options
context:
space:
mode:
authoronefang2021-07-07 09:05:36 +1000
committeronefang2021-07-07 09:05:36 +1000
commitca8ae1812638d33e68f69003a38ca8625334c1d1 (patch)
tree1146bf065317a410e94fcd88bb587cf04b244506 /src/sledjchisl/sledjchisl.c
parentDon't do the auto join groups thing for child agents. (diff)
downloadopensim-SC-ca8ae1812638d33e68f69003a38ca8625334c1d1.zip
opensim-SC-ca8ae1812638d33e68f69003a38ca8625334c1d1.tar.gz
opensim-SC-ca8ae1812638d33e68f69003a38ca8625334c1d1.tar.bz2
opensim-SC-ca8ae1812638d33e68f69003a38ca8625334c1d1.tar.xz
whitespace++
Diffstat (limited to '')
-rw-r--r--src/sledjchisl/sledjchisl.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 576f58f..f395703 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -879,14 +879,11 @@ ourSims->tbl->put(ourSims->tbl, sim, ini, sizeof(qlisttbl_t));
879 if (!WIFEXITED(j)) 879 if (!WIFEXITED(j))
880 E("chmod command failed!"); 880 E("chmod command failed!");
881 881
882 882 char *link = xmprintf("%s/%s.shini", scBin, simd->tab);
883 char *link = xmprintf("%s/%s.shini", scBin, simd->tab); 883 I("Symlinking %s to %s", newPath, link);
884 I("Symlinking %s to %s", newPath, link); 884 if (0 != symlink(newPath, link))
885 if (0 != symlink(newPath, link)) 885 perror_msg("Symlinking %s to %s", newPath, link);
886 perror_msg("Symlinking %s to %s", newPath, link); 886 free(link);
887 free(link);
888
889
890 } 887 }
891 free(cmd); 888 free(cmd);
892 } 889 }