~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to src/crash.c

  • Committer: Brian Murray
  • Date: 2018-06-28 20:04:54 UTC
  • mto: This revision was merged to the branch mainline in revision 942.
  • Revision ID: brian@canonical.com-20180628200454-8yj2slcxdwdl954o
Fix a typo

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
   if (g_file_test(CRASHREPORT_AUTOREPORT, G_FILE_TEST_EXISTS))
149
149
      return FALSE;
150
150
   
151
 
   // if whoopsie is installed, by disabled, don't do anything
 
151
   // if whoopsie is installed, but disabled, don't do anything
152
152
   if (g_file_test(CRASHREPORT_WHOOPSIE_EXEC, G_FILE_TEST_IS_EXECUTABLE)) {
153
153
      int exitcode;
154
154
      gchar *argv[] = { "systemctl", "is-enabled", "-q", CRASHREPORT_WHOOPSIE_SERVICE, NULL };