Skip to content
Snippets Groups Projects
Commit 5cad7cd3 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

be more verbose

parent 707216bd
No related branches found
No related tags found
No related merge requests found
......@@ -41,11 +41,13 @@ int env_make_symlink(resolve_service_t *res)
auto_strings(sym_version,svconf,SS_SYM_VERSION) ;
log_trace("create directory: ", dst) ;
if (!dir_create_parent(dst,0755))
log_warnsys_return(LOG_EXIT_ZERO,"create directory: ",dst) ;
/** atomic_symlink check if exist
* if it doesn't exist, it create it*/
log_trace("point symlink: ", sym_version, " to ", dst) ;
if (!atomic_symlink(dst,sym_version,"env_compute"))
log_warnu_return(LOG_EXIT_ZERO,"symlink: ",sym_version," to: ",dst) ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment