summaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
Diffstat (limited to 'infrastructure')
-rw-r--r--infrastructure/buildenv-testmain-template.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/infrastructure/buildenv-testmain-template.cpp b/infrastructure/buildenv-testmain-template.cpp
index 3fd10c71..5524c670 100644
--- a/infrastructure/buildenv-testmain-template.cpp
+++ b/infrastructure/buildenv-testmain-template.cpp
@@ -176,7 +176,10 @@ int main(int argc, char * const * argv)
{
case 'c':
{
- bbackupd_args += " ";
+ if (bbackupd_args.length() > 0)
+ {
+ bbackupd_args += " ";
+ }
bbackupd_args += optarg;
}
break;