Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 194832 | Differences between
and this patch

Collapse All | Expand All

(-)rkhunter.orig/files/rkhunter (-2 / +6 lines)
Lines 1246-1253 Link Here
1246
	#
1246
	#
1247
1247
1248
	if [ ! -d "${RKHTMPDIR}" ]; then
1248
	if [ ! -d "${RKHTMPDIR}" ]; then
1249
		echo "Temporary directory does not exist: ${RKHTMPDIR}"
1249
		echo "Temporary directory does not exist: ${RKHTMPDIR}; Creating it."
1250
		exit 1
1250
		mkdir -p "${RKHTMPDIR}"
1251
		if [ ! -d "${RKHTMPDIR}" ]; then
1252
			echo "Cannot create directory ${RKHTMPDIR}."
1253
			exit 1
1254
		fi
1251
	elif [ ! -w "${RKHTMPDIR}" ]; then
1255
	elif [ ! -w "${RKHTMPDIR}" ]; then
1252
		echo "Temporary directory is not writable: ${RKHTMPDIR}"
1256
		echo "Temporary directory is not writable: ${RKHTMPDIR}"
1253
		exit 1
1257
		exit 1

Return to bug 194832