diff --git a/configure b/configure index c772fd4b05f40609bf19357115d86bb3b0072ab1..2878aa161b77ad574d5fdde454b386939d99c7f1 100755 --- a/configure +++ b/configure @@ -350,10 +350,8 @@ fi ## logger notification if $s6log_notify; then - echo disable notify s6log_notify='0' else - echo enable notify s6log_notify='1' fi diff --git a/src/66/66-update.c b/src/66/66-update.c index 9057d2d6058e34e68de8651417f261549bab2969..e25e6776fc6d976cc26e8d1cda52ecd56b577727 100644 --- a/src/66/66-update.c +++ b/src/66/66-update.c @@ -224,6 +224,14 @@ int main(int argc, char const *const *argv,char const *const *envp) if (!argc) { + if (info.owner) + { + /** check if user system dir already exist */ + if (!scan_mode(info.base.s,S_IFDIR)) { + log_info(DRYRUN ? drun : "","No trees exist yet -- Nothing to do") ; + goto exit ; + } + } if (!sastr_dir_get(&satree,system,SS_BACKUP + 1,S_IFDIR)) log_dieusys(LOG_EXIT_SYS,"get list of trees at: ",system) ;