Ticket #8795: main.cpp.diff

File main.cpp.diff, 526 bytes (added by ramccor@…, 9 years ago)

diff to mythfilldatabase to strip the -psn command line option that OSX adds.

  • main.cpp

    old new  
    493493            cout << "\n";
    494494            return FILLDB_EXIT_INVALID_CMDLINE;
    495495        }
     496        else if (!strncmp(a.argv()[argpos], "-psn", 4))
     497        {
     498            VERBOSE(VB_GENERAL, "Ignoring Process Serial Number from command line");
     499        }
    496500        else if (!strcmp(a.argv()[argpos], "--no-delete"))
    497501        {
    498502            cerr << "Deprecated option '" << a.argv()[argpos] << "'" << endl;