From 34ad416e77bca738bff48e36f1fac138d7952411 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Thu, 11 Feb 2021 19:52:38 -0500 Subject: [PATCH] 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. --- modules/stage-1/tasks/usb-gadget-task.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stage-1/tasks/usb-gadget-task.rb b/modules/stage-1/tasks/usb-gadget-task.rb index c3b7f3cc..eb87e9ae 100644 --- a/modules/stage-1/tasks/usb-gadget-task.rb +++ b/modules/stage-1/tasks/usb-gadget-task.rb @@ -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