[Fai-commit] r5793 - in trunk: debian lib
Thomas Lange
lange at alioth.debian.org
Mon May 31 14:50:48 UTC 2010
Author: lange
Date: 2010-05-31 14:50:46 +0000 (Mon, 31 May 2010)
New Revision: 5793
Modified:
trunk/debian/changelog
trunk/lib/mkramdisk
Log:
mkramdisk: use exit in main routine (closes: #583289)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2010-05-29 16:48:43 UTC (rev 5792)
+++ trunk/debian/changelog 2010-05-31 14:50:46 UTC (rev 5793)
@@ -2,8 +2,9 @@
[ Thomas Lange ]
* make-fai-nfsroot: fix typo
+ * mkramdisk: use exit in main routine (closes: #583289)
- -- Thomas Lange <lange at debian.org> Sun, 11 Apr 2010 12:38:00 +0200
+ -- Thomas Lange <lange at debian.org> Mon, 31 May 2010 16:50:25 +0200
fai (3.3.5) unstable; urgency=high
Modified: trunk/lib/mkramdisk
===================================================================
--- trunk/lib/mkramdisk 2010-05-29 16:48:43 UTC (rev 5792)
+++ trunk/lib/mkramdisk 2010-05-31 14:50:46 UTC (rev 5793)
@@ -75,7 +75,7 @@
shift $(($OPTIND - 1))
# do not use the ramdisk if FAI_NORAMDISK is set to 1
-[ X$FAI_NORAMDISK = X1 ] && return
+[ X$FAI_NORAMDISK = X1 ] && exit 0
for d in "$@"; do
if [ $umount -eq 1 ]; then
More information about the Fai-commit
mailing list