run: Improve error message if dss is already running.
[dss.git] / err.h
diff --git a/err.h b/err.h
index e651d9ca06f082eff6eee583ada6ee73ffacdf61..3d4e136f208473fb2de31cb645a868f33995bbaa 100644 (file)
--- a/err.h
+++ b/err.h
@@ -55,7 +55,10 @@ static inline char *dss_strerror(int num)
        DSS_ERROR(SIGNAL_SIG_ERR, "signal() returned SIG_ERR"), \
        DSS_ERROR(SIGNAL, "caught terminating signal"), \
        DSS_ERROR(BUG, "values of beta might cause dom!"), \
        DSS_ERROR(SIGNAL_SIG_ERR, "signal() returned SIG_ERR"), \
        DSS_ERROR(SIGNAL, "caught terminating signal"), \
        DSS_ERROR(BUG, "values of beta might cause dom!"), \
-       DSS_ERROR(NOT_RUNNING, "dss not running")
+       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")
 
 /**
  * This is temporarily defined to expand to its first argument (prefixed by
 
 /**
  * This is temporarily defined to expand to its first argument (prefixed by