mirror of
https://github.com/unraid/webgui.git
synced 2026-01-15 06:00:14 -06:00
Merge pull request #1292 from Commifreak/plugin-display-retval
Display Run command retval in error message
This commit is contained in:
@@ -477,7 +477,7 @@ function plugin($method, $plugin_file, &$error) {
|
||||
unlink($name);
|
||||
}
|
||||
if ($retval != 0) {
|
||||
$error = "run failed: $command";
|
||||
$error = "run failed: '$command' returned $retval";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user