summaryrefslogtreecommitdiff
path: root/debian/patches/makedev_keep_options.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/makedev_keep_options.patch')
-rw-r--r--debian/patches/makedev_keep_options.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/makedev_keep_options.patch b/debian/patches/makedev_keep_options.patch
index 90a6c6e9..353bb210 100644
--- a/debian/patches/makedev_keep_options.patch
+++ b/debian/patches/makedev_keep_options.patch
@@ -43,7 +43,7 @@ Index: hurd/sutils/MAKEDEV.sh
local PERM="$3"
shift 3
- if cmd settrans -cg "$NODE"; then
-+ if [ "$KEEP" ] && [ -e "$NODE" ]; then
++ if [ "$KEEP" ] && showtrans "$NODE" > /dev/null 2>&1 ; then
+ return;
+ fi
+ if cmd settrans $STFLAGS -c "$NODE"; then