ifcfg-rh: use svGetValueFull() in svGetValueInt64()

Previously, it would silently accept a value set to "empty".
This is however not a valid number and we should raise a
warning just like for any other invalid number.
This commit is contained in:
Thomas Haller 2015-05-20 14:16:09 +02:00
parent 33aaa730c5
commit c6efbeccf3

View file

@ -345,7 +345,7 @@ svGetValueInt64 (shvarFile *s, const char *key, guint base, gint64 min, gint64 m
gint64 result;
int errsv;
tmp = svGetValue (s, key, FALSE);
tmp = svGetValueFull (s, key, FALSE);
if (!tmp) {
errno = 0;
return fallback;