diff options
author | Andras Timar <atimar@suse.com> | 2012-01-11 19:21:33 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-01-11 19:25:45 +0100 |
commit | aab14cb9fbc7d82b804a89e4cc61fb874c8636c8 (patch) | |
tree | 06076784fd47291174d9d51811da496191ae5cf4 /sal/osl/unx | |
parent | 8a3b584528e30f346cbab34141ee088eea16020c (diff) |
fix prefix of command line switches (-- instead of -)
Diffstat (limited to 'sal/osl/unx')
-rw-r--r-- | sal/osl/unx/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c index 6a6dd1d469e8..71bd5fd66d4a 100644 --- a/sal/osl/unx/signal.c +++ b/sal/osl/unx/signal.c @@ -512,12 +512,12 @@ static int ReportCrash( int Signal ) { if ( osl_Process_E_None == osl_getCommandArg( argi, &ustrCommandArg ) ) { - if ( 0 == rtl_ustr_ascii_compare( rtl_uString_getStr( ustrCommandArg ), "-nocrashreport" ) ) + if ( 0 == rtl_ustr_ascii_compare( rtl_uString_getStr( ustrCommandArg ), "--nocrashreport" ) ) { rtl_uString_release( ustrCommandArg ); return -1; } - else if ( 0 == rtl_ustr_ascii_compare( rtl_uString_getStr( ustrCommandArg ), "-autocrashreport" ) ) + else if ( 0 == rtl_ustr_ascii_compare( rtl_uString_getStr( ustrCommandArg ), "--autocrashreport" ) ) { bAutoCrashReport = sal_True; } |