diff options
| author | 2013-04-10 06:06:53 +0100 | |
|---|---|---|
| committer | 2013-04-10 20:25:32 +0100 | |
| commit | ac8a394a5c01d8cecd6d1fd364173825ecb452ae (patch) | |
| tree | 90de74031f9ee94c0aad006d1e05b66ffda2db5d /modulemanager | |
| parent | m_spanningtree Create new TreeServers for incoming connections only when they... (diff) | |
Fix ModuleManager error caused by a lack of arguments.
Diffstat (limited to 'modulemanager')
| -rwxr-xr-x | modulemanager | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modulemanager b/modulemanager index d1212faf5..7884654af 100755 --- a/modulemanager +++ b/modulemanager @@ -262,7 +262,7 @@ sub resolve_deps { } } -my $action = lc shift @ARGV; +my $action = $#ARGV > 0 ? lc shift @ARGV : 'help'; if ($action eq 'install') { for my $mod (@ARGV) { |
