Fix typo in previous commit: Exit if */dev/dumpdev* does not exist, not if

*/bin/realpath* does not exist...

Submitted by:	markj
Pointy hat to:	cperciva
This commit is contained in:
Colin Percival 2013-03-19 05:08:25 +00:00
parent 510a7a8624
commit 953bb3854c

View File

@ -23,7 +23,7 @@ savecore_prestart()
return 1
;;
[Aa][Uu][Tt][Oo])
if [ ! -L /bin/realpath ]; then
if [ ! -L /dev/dumpdev ]; then
return 1
fi
dumpdev=`/bin/realpath /dev/dumpdev`