Project

General

Profile

« Previous | Next » 

Revision 9696

lib/sh/util.sh: int2bool(): renamed to int2exit() because it actually sets a boolean exit status rather than returning a boolean string

View differences:

resume_import.sh
28 28
}
29 29

  
30 30
is_pkey_imported()
31
{ echo_func; local int; int="$(is_pkey_imported__int)"; int2bool "$int"; }
31
{ echo_func; local int; int="$(is_pkey_imported__int)"; int2exit "$int"; }
32 32

  
33 33

  
34 34
get_pkey_at_pos() # usage: i=# [quote=...] get_pkey_at_pos

Also available in: Unified diff