]> git.proxmox.com Git - systemd.git/blobdiff - tools/update-hwdb-autosuspend.sh
New upstream version 249~rc1
[systemd.git] / tools / update-hwdb-autosuspend.sh
index 7d5a9a8cf5a54bf7861c2d14758977bdafcc953d..c69773087dfcbbd27871142d085ef10c66545f35 100755 (executable)
@@ -2,7 +2,7 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 set -eu
 
-cd "$1"
+cd "${1:?}"
 
 (curl --fail -L 'https://chromium.googlesource.com/chromiumos/platform2/+/master/power_manager/udev/gen_autosuspend_rules.py?format=TEXT'; echo) \
     | base64 -d > tools/chromiumos/gen_autosuspend_rules.py