From a86f366147b74577d9b72aaef4c6d361ad8aab17 Mon Sep 17 00:00:00 2001 From: Martijn Date: Sun, 19 Oct 2014 21:15:22 +0200 Subject: [PATCH] Missed if statement --- src/nwipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nwipe.c b/src/nwipe.c index 606f3fa..8a84eb1 100644 --- a/src/nwipe.c +++ b/src/nwipe.c @@ -100,6 +100,7 @@ int main( int argc, char** argv ) argc -= nwipe_optind; nwipe_enumerated = nwipe_device_get( &c1, argv, argc ); + if ( nwipe_enumerated == 0 ) { exit(1); }