Modify mcreboot.sh for job scheduler
1. Don't complain when logname command doesn't exist
This commit is contained in:
@@ -25,7 +25,7 @@ cpus=""
|
|||||||
INTERVAL=1
|
INTERVAL=1
|
||||||
LOGMODE=0
|
LOGMODE=0
|
||||||
facility="LOG_LOCAL6"
|
facility="LOG_LOCAL6"
|
||||||
chown_option=`logname`
|
chown_option=`logname 2> /dev/null`
|
||||||
|
|
||||||
while getopts :i:k:c:m:o:f: OPT
|
while getopts :i:k:c:m:o:f: OPT
|
||||||
do
|
do
|
||||||
|
|||||||
Reference in New Issue
Block a user