diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-04-29 00:09:24 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-04-29 00:09:24 +0800 |
commit | 864eac674df583c134969fd504a6e26b425d68f5 (patch) | |
tree | 638a94b229cb49560aa9e225011d5fd1a2493145 | |
parent | acc87591ac46016d417acb6b371a38fd1f3127ee (diff) | |
download | gsoc2013-evolution-864eac674df583c134969fd504a6e26b425d68f5.tar.gz gsoc2013-evolution-864eac674df583c134969fd504a6e26b425d68f5.tar.zst gsoc2013-evolution-864eac674df583c134969fd504a6e26b425d68f5.zip |
check stat == 0
svn path=/trunk/; revision=25669
-rw-r--r-- | mail/em-composer-prefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c index b5193900ed..3e5d7c930e 100644 --- a/mail/em-composer-prefs.c +++ b/mail/em-composer-prefs.c @@ -369,7 +369,7 @@ sig_add_script_response (GtkWidget *widget, int button, EMComposerPrefs *prefs) if (script && *script && g_shell_parse_argv (script, &argc, &argv, NULL)) { struct stat st; - if (stat (argv[0], &st) && S_ISREG (st.st_mode) && access (argv[0], X_OK) == 0) { + if (stat (argv[0], &st) == 0 && S_ISREG (st.st_mode) && access (argv[0], X_OK) == 0) { GtkWidget *parent; ESignature *sig; |