summaryrefslogtreecommitdiffstats
path: root/api/src/gfapi-messages.h
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2018-06-12 09:49:09 +0200
committerNiels de Vos <ndevos@redhat.com>2018-06-18 13:19:34 +0000
commit45edc547a827c4e38b7ec82de6d96e77ca5e593f (patch)
treeb333f1ba66f4f0b19a2db87f50a2a52a37e8cc99 /api/src/gfapi-messages.h
parent67b2233055091fad6ad7d14c65e3bc12871bab82 (diff)
gcron: catch OSError as well as IOError
In case os.open() fails because the file does not exist, an OSError is raised. To prevent the script to abort uncleanly, catch the OSError in addition to the IOError. Change-Id: I48e5b23e17d63639cc33db51b4229249a9887880 Fixes: bz#1590195 Signed-off-by: Niels de Vos <ndevos@redhat.com> (cherry picked from commit 26b52694feb04c98e6c9436bcd4e23e1687f0237)
Diffstat (limited to 'api/src/gfapi-messages.h')
0 files changed, 0 insertions, 0 deletions