r4507 - dists/trunk/utils/initramfs-tools
Jonas Smedegaard
js at costa.debian.org
Mon Oct 17 09:03:08 UTC 2005
Author: js
Date: 2005-10-17 09:03:07 +0000 (Mon, 17 Oct 2005)
New Revision: 4507
Modified:
dists/trunk/utils/initramfs-tools/mkinitramfs
Log:
Explicitly ignore -r (but why?) and treat undeclared options as an internal getopt error.
Modified: dists/trunk/utils/initramfs-tools/mkinitramfs
===================================================================
--- dists/trunk/utils/initramfs-tools/mkinitramfs 2005-10-17 08:59:34 UTC (rev 4506)
+++ dists/trunk/utils/initramfs-tools/mkinitramfs 2005-10-17 09:03:07 UTC (rev 4507)
@@ -36,6 +36,10 @@
keep="y"
shift
;;
+ -r)
+ # ignore (FIXME: manpage says differently?!?)
+ shift 2
+ ;;
--supported-host-version)
supported_host_version="$2"
shift 2
@@ -48,6 +52,10 @@
shift
break
;;
+ *)
+ echo "Internal error!" >&2
+ exit 1
+ ;;
esac
done
More information about the Kernel-svn-changes
mailing list