Faire des qcm simplement - retour accueil
git clone git://bebou.netlib.re/qcm
Log | Files | Refs | README |
commit 4cf04b2e8b16c9b2d343621f0b4bfc1422bb2fad parent ea7d389785a62babd046cb432c6043455a462e35 Auteurice: Arthur Pons <arthur.pons@unistra.fr> Date: Sat, 14 Dec 2024 18:32:32 +0100 Correction variable logs par défaut C'est :- et pas -: Le fichier ":/var/log..." existe pas évidemment Diffstat:
M | qcm.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qcm.sh b/qcm.sh @@ -149,7 +149,7 @@ while getopts "hegl:u:i:" opt; do done url="${u:-http://bebou.netlib.re}" -logs="${l-:/var/log/nginx/access.log}" +logs="${l:-/var/log/nginx/access.log}" [ ! -e "$logs" ] && { echo "fichier de log '$logs' n'existe pas" >&2;exit 1; }