X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=err.h;h=9505dfcc99f718ce1f8fe540401446e1dff82e8e;hp=fc1ef19a272e9e4bee8b3e8e870cfd548d16951d;hb=45ae697d187c12a7ed40ae71b6a8adeda4b32b6c;hpb=3025388040c1521121255e5ae7ceabdcb1b1e421 diff --git a/err.h b/err.h index fc1ef19..9505dfc 100644 --- a/err.h +++ b/err.h @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2006-2010 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* SPDX-License-Identifier: GPL-2.0 */ extern char *dss_errlist[]; extern char *dss_error_txt; @@ -48,14 +44,17 @@ static inline char *dss_strerror(int num) DSS_ERROR(INVALID_NUMBER, "invalid number"), \ DSS_ERROR(STRFTIME, "strftime() failed"), \ DSS_ERROR(LOCALTIME, "localtime() failed"), \ + DSS_ERROR(MOUNTPOINT, "destination directory is no mountpoint"), \ DSS_ERROR(NULL_OPEN, "can not open /dev/null"), \ DSS_ERROR(DUP_PIPE, "exec error: can not create pipe"), \ DSS_ERROR(INVOLUNTARY_EXIT, "unexpected termination cause"), \ DSS_ERROR(BAD_EXIT_CODE, "unexpected exit code"), \ DSS_ERROR(SIGNAL_SIG_ERR, "signal() returned SIG_ERR"), \ DSS_ERROR(SIGNAL, "caught terminating signal"), \ + DSS_ERROR(KILL_TIMEOUT, "signal timeout expired"), \ DSS_ERROR(BUG, "values of beta might cause dom!"), \ DSS_ERROR(NOT_RUNNING, "dss not running"), \ + DSS_ERROR(ALREADY_RUNNING, "dss already running"), \ DSS_ERROR(TOO_MANY_RSYNC_ERRORS, "too many consecutive rsync errors"), \ DSS_ERROR(LOPSUB, "lopsub error")