Fix config.pl to return successful exitcode for full and realfull
diff --git a/scripts/config.pl b/scripts/config.pl
index 04a9a74..6f11d0e 100755
--- a/scripts/config.pl
+++ b/scripts/config.pl
@@ -225,13 +225,16 @@
 
 close $config_write;
 
-if ($action eq "get" && $done) {
-    if ($value ne '') {
-        print $value;
+if ($action eq "get") {
+    if($done) {
+        if ($value ne '') {
+            print $value;
+        }
+        exit 0;
+    } else {
+        # If the symbol was not found, return an error
+        exit -1;
     }
-    exit 0;
-} else {
-    exit -1;
 }
 
 if ($action eq "full" && !$done) {