Faire des qcm simplement - retour accueil
git clone git://bebou.netlib.re/qcm
Log | Files | Refs | README |
commit 5dd317291e6085945c9d0a9430f1214a665a76f9 parent 555c80bd4377eca90fdcb1227ce418d80f4b5259 Auteurice: Arthur Pons <arthur.pons@unistra.fr> Date: Thu, 5 Dec 2024 21:37:50 +0100 On cache la sortie de gnuplot Diffstat:
M | qcm.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qcm.sh b/qcm.sh @@ -140,7 +140,7 @@ logs="/var/log/nginx/access.log" while getopts "hegl:u:i:" opt; do case $opt in ( l | u | i ) [ ! -z $OPTARG ] && eval "$opt='$OPTARG'" ;; - ( g ) command -v gnuplot && plotcmd="gplot" ;; + ( g ) command -v gnuplot > /dev/null && plotcmd="gplot" ;; ( h ) usage; exit ;; ( e ) hide="yes";; ( * ) echo "Option inconnue, voir l'aide en lançant qcm -h";exit 1;;