Changeset 6254


Ignore:
Timestamp:
Nov 13, 2017, 6:04:55 PM (2 years ago)
Author:
hectorgh
Message:

removing log errors

Location:
epoptes/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • epoptes/trunk/fuentes/debian/changelog

    r6207 r6254  
     1epoptes (0.5.9-lliurex37) xenial; urgency=high
     2
     3  * Removing log errors
     4
     5 -- Hector Garcia Huerta <hectorgh@gmail.com>  Mon, 13 Nov 2017 18:04:34 +0100
     6
    17epoptes (0.5.9-lliurex36) xenial; urgency=high
    28
  • epoptes/trunk/fuentes/epoptes-client/epoptes-client

    r6206 r6254  
    3737if [ ! -f $log_file ]; then
    3838        touch $log_file
    39         chmod 777 $log_file
     39        chmod 777 $log_file 2>/dev/null
    4040else
    41         chmod 777 $log_file
     41        chmod 777 $log_file 2>/dev/null
    4242fi
    4343
     
    5656                fi
    5757        else
    58                 if grep "client" $log_file > /dev/nul
     58                if grep "client" $log_file > /dev/null
    5959                then
    6060                        if [[ -z "$LTSP_FATCLIENT" ]]; then
     
    358358# with that for LTSP clients, but epoptes kills disconnected epoptes-clients.
    359359# The current epoptes-client is excluded because it starts with /bin/sh.
    360 echo "pkill de $UID"
    361 echo "pkill de $UID">>$lof_file
     360echo "pkill de $UID">>$log_file
    362361pkill -U $UID -f '^epoptes-client$'
    363362
Note: See TracChangeset for help on using the changeset viewer.