Update usb_printer_hotplug

This commit is contained in:
coolsnowwolf 2021-06-11 11:38:31 +08:00 committed by GitHub
parent 5a56f1eeaa
commit e2535799fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ check_printer() {
return
fi
device_file=`echo $DEVICES | grep $device_id | cut -d , -f 1`
device_file=`echo "$DEVICES" | grep $device_id | cut -d , -f 1`
if [ "$ACTION" = "add" ] && [ -z "$device_file" ]; then
return