Commit e6e31665 authored by Locatelli's avatar Locatelli

test

parent 22887894
...@@ -85,9 +85,7 @@ then ...@@ -85,9 +85,7 @@ then
CRASHMESSAGE=`zenity --text-info --filename=$TEMP_FILE --editable --ok-label="Send" --title="Nomad Crash Report"` CRASHMESSAGE=`zenity --text-info --filename=$TEMP_FILE --editable --ok-label="Send" --title="Nomad Crash Report"`
if [ -n "$CRASHMESSAGE" ]; if [ -n "$CRASHMESSAGE" ];
then then
echo $CRASHMESSAGE > $TEMP_FILE2 /usr/lib/jvm/jdk10.0.1/bin/java -jar lib64/nomadmail.jar "[`hostname`][report] user crash report" "$CRASHMESSAGE" sci@ill.fr $NOMAD_MAIL
/usr/lib/jvm/jdk10.0.1/bin/java -DvirtualHome=/tmp/nomad/nomadgui-release -Djava.library.path=lib64/common/calculator:/usr/lib:/usr/lib:/usr/lib/x86_64-linux-gnu/jni -Djava.util.logging.config.file=conf/client/logging.properties -jar lib64/nomadmail.jar "$TEMP_FILE2"
rm -f $TEMP_FILE2
fi fi
rm -f $TEMP_FILE rm -f $TEMP_FILE
...@@ -95,9 +93,9 @@ else ...@@ -95,9 +93,9 @@ else
if [ $STATUS -ne 0 ]; if [ $STATUS -ne 0 ];
then then
content=`cat $FILE`
# Call the nomadmail application to send the mail of crash by the Nomad server. # Call the nomadmail application to send the mail of crash by the Nomad server.
/usr/lib/jvm/jdk10.0.1/bin/java -DvirtualHome=/tmp/nomad/nomadgui-release -Djava.library.path=lib64/common/calculator:/usr/lib:/usr/lib:/usr/lib/x86_64-linux-gnu/jni -Djava.util.logging.config.file=conf/client/logging.properties -jar lib64/nomadmail.jar "$FILE" /usr/lib/jvm/jdk10.0.1/bin/java -jar lib64/nomadmail.jar "[`hostname`][client] crash" "$content" sci@ill.fr $NOMAD_MAIL
fi fi
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment