[systemd-devel] [PATCH] keyboard-force-release: fix shebang

Dave Reisner dreisner at archlinux.org
Sat Jun 2 15:27:14 PDT 2012


This script will still run without the shebang, but we won't get the
intended effect of the errexit flag in the interpreter line.
---
Sorry, this should have been included in the last patch.

 src/udev/keymap/keyboard-force-release.sh.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/udev/keymap/keyboard-force-release.sh.in b/src/udev/keymap/keyboard-force-release.sh.in
index 152633c..b826748 100755
--- a/src/udev/keymap/keyboard-force-release.sh.in
+++ b/src/udev/keymap/keyboard-force-release.sh.in
@@ -1,4 +1,4 @@
-#/bin/sh -e
+#!/bin/sh -e
 # read list of scancodes, convert hex to decimal and
 # append to the atkbd force_release sysfs attribute
 # $1 sysfs devpath for serioX
-- 
1.7.10.3



More information about the systemd-devel mailing list