diff options
| author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-12-03 17:18:18 +0100 |
|---|---|---|
| committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-12-03 17:18:18 +0100 |
| commit | f0e9bdef042d64b1d9181cca76d074ba98e91974 (patch) | |
| tree | 543c711c28e5d55e8292c1d0206d1841c96a3370 | |
| parent | 75ec7ea93ecd6e061d85b0303f60cf43f82aaaf2 (diff) | |
bin/inxi_snapshot: Drop the check for tty
Run via checkbox remote service, inxi fails with: Error 1: You can't run option help in an IRC client!
| -rwxr-xr-x | bin/inxi_snapshot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/inxi_snapshot b/bin/inxi_snapshot index 7ebde769..5928ca5b 100755 --- a/bin/inxi_snapshot +++ b/bin/inxi_snapshot @@ -5456,7 +5456,7 @@ sub generate_json { my ($json); my $b_debug = 1; my ($b_cpanel,$b_valid); - error_handler('not-in-irc', 'help') if $b_irc; + #error_handler('not-in-irc', 'help') if $b_irc; #print Dumper \%data if $b_debug; if (check_module('Cpanel::JSON::XS')){ import Cpanel::JSON::XS; |
