From: Ritesh Raj Sarraf <rrs@xxxxxxxxxxxxxx> Please see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654262 for details. Thanks to Aurelien Jarno Signed-off-by: Ritesh Raj Sarraf <rrs@xxxxxxxxxxxxxx> --- scripts/rc.target | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/rc.target b/scripts/rc.target index 22c0350..7ad75a3 100644 --- a/scripts/rc.target +++ b/scripts/rc.target @@ -51,9 +51,9 @@ LIO_CONFIGFS_SCRIPT="/etc/target/lio_start.sh" # Enable: Set DEBUG=1 Disable: Set DEBUG=0 DEBUG=0 -LOGFILE=/tmp/tgtctl.dbug +LOGFILE=/var/log/tgtctl.dbug -if [ $DEBUG ]; then +if [ $DEBUG != 0 ]; then echo "$0 $*" >> $LOGFILE fi ######################################################################### -- 1.7.9.1 -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html