From ba3e7518944a033ad0112085b2d7803006241209 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 26 Oct 2013 18:09:21 -0400 Subject: fopen(): Exit on failure. --- (limited to 'lib') diff --git a/lib/fd.sh b/lib/fd.sh index 0f78a40..95d68b6 100644 --- a/lib/fd.sh +++ b/lib/fd.sh @@ -74,8 +74,7 @@ fopen() FD="${fd}" return 0 else - FD='' - return 1 + error 2 "$(get_msg 'cant_fopen')" fi } -- cgit v0.9.1