1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-11-08 22:04:05 +03:00

stage-1/usb-gadget: Fix error message error

`#constantize` does not exist on `String`.

This would only have been an issue in the improbable cause that a daemon
is not configured for an FFS gadget.
This commit is contained in:
Samuel Dionne-Riel 2021-02-11 19:52:38 -05:00
parent fc65d0a89b
commit 34ad416e77

View File

@ -57,7 +57,7 @@ module System::ConfigFSUSB
if DAEMONS[feature_name]
DAEMONS[feature_name].start()
else
$logger.fatal("Tried to get FunctionFS Daemon for #{feature_name} (#{feature_name.constantize()}) and failed.")
$logger.fatal("Tried to get FunctionFS Daemon for #{feature_name} and failed.")
end
end
end