From e27371b24bfe079f5e96e5bac4cbaf9bf68b7f51 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 20 Feb 2003 21:38:11 +0000 Subject: [PATCH] error checking svn path=/trunk/boinc/; revision=951 --- tools/add.C | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/add.C b/tools/add.C index 64a243b9ed..9e1f9bf5aa 100644 --- a/tools/add.C +++ b/tools/add.C @@ -102,6 +102,10 @@ void add_app() { void add_platform() { int retval; + if (!user_friendly_name) { + fprintf( stderr, "User friendly name not specified.\n" ); + exit(1); + } if (!platform_name) { fprintf( stderr, "Platform name not specified.\n" ); exit(1);