mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-20 10:43:15 +08:00
Fix timestap checking bug when autoloading scripts
darcs-hash:20060214195517-ac50b-3d084f351c5d1f4f11afb4fc1c706c843de98da1.gz
This commit is contained in:
parent
f12127c775
commit
7ac922def6
|
@ -512,7 +512,7 @@ int parse_util_load( const wchar_t *cmd,
|
|||
Did we just check this?
|
||||
*/
|
||||
if( tm )
|
||||
if(tm[1]-time(0)<=1)
|
||||
if(time(0)-tm[1]<=1)
|
||||
return 0;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user